SUnit error handling discrepancy
Keith Hodges
keith_hodges at yahoo.co.uk
Tue Mar 13 15:39:07 UTC 2007
In sunit, running a test as normal collects the errors via an explicit
exception handler
Running a test with #debug doesn't, it leaves it to the system exception
handler to do do its normal thing with a debugger. However if the
#defaultAction for that signal does not raise UnhandledError then the
debugger does not appear.
The result being that clicking on a test case in the errors list, does
not do anything.
So the question is.
1) should SUnit only trap Unhandled errors, in its error count?
2) Or should #debug trap errors like #run does ?
Keith
___________________________________________________________
All New Yahoo! Mail Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
More information about the Squeak-dev
mailing list
|