[Tutor] unittest testing order...

Steven D'Aprano steve at pearwood.info
Mon Sep 27 20:33:34 CEST 2010


On Tue, 28 Sep 2010 04:03:17 am Modulok wrote:
> List,
>
> When using the unittest module, tests are run in alphanumeric order.
> What's the suggested way of specifying a test order? 

There isn't one. It shouldn't matter what order the tests run, no test 
should *rely* on another test. 

(Although of course, if one test fails, any tests which assume the 
missing functionality will also fail.)



-- 
Steven D'Aprano


More information about the Tutor mailing list