Unittest testing assert*() calls rather than methods?

Roy Smith roy at panix.com
Wed Sep 28 20:52:31 EDT 2011


In article <87k48szqo1.fsf at benfinney.id.au>,
 Ben Finney <ben+python at benfinney.id.au> wrote:

> Worse, if one of the scenarios causes the test to fail, the loop will
> end and you won't get the results for the remaining scenarios.

Which, depending on what you're doing, may or may not be important.  In 
many cases, there's only two states of interest:

1) All tests pass

2) Anything else



More information about the Python-list mailing list