From: Paul Brannan Date: 2003-01-11T01:51:02+09:00 Subject: Re: iterating in a test On Sat, Jan 11, 2003 at 01:38:09AM +0900, Martin Hart wrote: > I believe that each assert function can take a message string which is > dumped if the test fails: > > 10.times { |i| > assert_equal(1, f(i), "Testing f where i=#{i}") > } 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. Paul