Charley
>That's because you're swallowing the exception in your rescue clause. You
>want it to be raised and caught by Test::Unit so that it can see it for
>reporting. You need to either get rid of the rescue and ensure blocks or
>rethrow the exception (in which case you might want to wrap the original
> exception).
> raise Test::Unit::AssertionFailedError,
> "in my testcase: #{e.message}",
> e.backtrace
Thanks Charley. Could I write an example and submit it to the user guide?
Aidy
---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender and
delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general