[squeak-dev] Should SUnit report errors when a *different* exception
is raised?
Sean P. DeNigris
sean at clipperadams.com
Fri May 21 19:08:46 UTC 2010
Should the following cause an error?
test
self shouldnt: [Error signal: 'not the error we're looking for'] raise:
ExpectationNotMetError.
In this context, it seems like we don't care if other errors occur - maybe
the code under test always throws *some* error and we just want to make sure
it's not *that* error. We're just asking about ExpectationNotMetErrors.
Right now, it reports an error in the Test Runner.
What do you think?
Sean
--
View this message in context: http://forum.world.st/Should-SUnit-report-errors-when-a-different-exception-is-raised-tp2226574p2226574.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|