Failing unittest Test cases

Paul Rubin http
Tue Jan 10 04:42:19 EST 2006


"Fredrik Lundh" <fredrik at pythonware.com> writes:
> no, he means exactly what he said: support for "expected failures"
> makes it possible to add test cases for open bugs to the test suite,
> without 1) new bugs getting lost in the noise, and 2) having to re-
> write the test once you've gotten around to fix the bug.

Oh I see, good idea.  But in that case maybe the decorator shouldn't
be attached to the test like that.  Rather, the test failures should
be filtered in the test runner as someone suggested, or the filtering
could even integrated with the bug database somehow.



More information about the Python-list mailing list