Standard idiom for testing individual functions?
matt_gerrans at hp.com
Wed Aug 7 23:01:37 CEST 2002
> I've read in some other threads that if any of the methods of a
> TestCase fail, the entire TestCase fails -- is that still true? If
> so, if test_foo below failed, would that possibly prevent test_bar
> from even running? (or vice versa, of course).
No offence, but it would probably be easier and quicker to try this out
(simply by changing foo() to return something) than post the question and
wait for an answer...
(You'll find that both tests do run, but one fails)
More information about the Python-list