How to have unittest tests to be executed in the order they appear?

Nick Stinemates nick at stinemates.org
Fri Apr 18 21:03:26 CEST 2008


On Tue, Apr 15, 2008 at 03:14:39PM -0400, D'Arcy J.M. Cain wrote:
> 
> However, do consider writing your tests so that order is irrelevant.
> If a test depends on a previous test running then it isn't a proprt
> self-contained test.  For one thing, you can't run a single test that
> way if you wanted to.
> 
Agreed!

-- 
Nick Stinemates (nick at stinemates.org)
http://nick.stinemates.org



More information about the Python-list mailing list