[Pharo-project] ExpectedFailures in SUnit

Niko Schwarz niko.schwarz at googlemail.com
Wed Oct 20 06:15:28 EDT 2010


Hi,

Currently, to mark a test as an expected failure, `expectedFailures`
should be overwritten
(http://stackoverflow.com/questions/3976596/how-to-mark-expected-failures-in-sunit).
That's a bit tricky to figure out, so I added a comment to the method:
SUnit-NikoSchwarz.114. However, I think it's still a usability bug:
marking something as an expectedFailure isn't visible inside the test.

I think expectedFailures should look through the pragmas of its tests
and return an array of all method names that contain the pragma
<expectedFailure>.

Cheers,

Niko

-- 
http://scg.unibe.ch/staff/Schwarz
twitter.com/nes1983
Tel: +41 076 235 8683




More information about the Pharo-dev mailing list