From: Toby Date: 2006-03-01T11:46:53+09:00 Subject: Re: Using assert() in a loop As with many of these problems, hours of head banging are solved with a single line. i used the begin/rescue code but added a watir function call that updates the failures. this works perfectly and returns a full list of everything that has failed back to the ci server. begin assert(result); rescue => e add_failure(1) puts "*FAILED*." + e.message end I can see the logic in 'if one fails the whole thing fails', i just think it's good practice to see exactly what has failed rather than just the tip of the iceberg. I'd forgotten how frustrating it is to learn a new language, loving the challenge tho and getting to love ruby. -- Posted via http://www.ruby-forum.com/.