Failing unittest Test cases

Peter Otten __peter__ at
Tue Jan 10 05:13:20 EST 2006

Duncan Booth wrote:

> Peter Otten wrote:
>> Marking a unittest as "should fail" in the test suite seems just wrong
>> to me, whatever the implementation details may be. If at all, I would
>> apply a "I know these tests to fail, don't bother me with the messages
>> for now" filter further down the chain, in the TestRunner maybe.
>> Perhaps the code for platform-specific failures could be generalized?
> It isn't marking the test as "should fail" it is marking it as "should
> pass, but currently doesn't" which is a very different thing.

You're right of course. I still think the "currently doesn't pass" marker
doesn't belong into the test source.


More information about the Python-list mailing list