From: Nathaniel Talbott Date: 2003-01-11T01:58:07+09:00 Subject: Re: iterating in a test Paul Brannan said: > This alone does not solve the whole problem; f(i) could raise an > exception, and if it does I do not know what i is. How about (untested): 10.times { |i| assert_nothing_raised("Testing f where i=#{i}") { assert_equal(1, f(i), "Testing f where i=#{i}") } } Nathaniel