Re: [wtr-general] Using begin statement doesn't return the no. of failures and errors

2009-12-18 Thread Charley Baker
Hey there, You're using a rescue clause to catch every exception, the testrunner is relying on Exceptions to report out results. What you probably want to do is something like this: begin assert(b.text.include?('Programming Ruby')) puts('test passed') rescue

[wtr-general] Using begin statement doesn't return the no. of failures and errors

2009-12-17 Thread Marlon
Hi guys, I'm sorry if you will find this question silly but I'm a ruby watir newby. My question is, why it is that when I'm using begin statement on assertions the result is not getting the no. failures and errors meaning when the script fails the failure and error is zero ex.