Ticket #5520 enhancement closed fixed
Run tests in the order they are given on the command line
|Reported by:||exarkun||Owned by:||exarkun|
|Cc:||jml, cyli, keturn@…, bitsink@…||Branch:||branches/trial-stable-argument-order-5520-3|
|Author:||Julian, exarkun, glyph||Launchpad Bug:|
Sometimes the order of unit tests is important. In these unfortunate cases, it's nice to be able to isolate the buggy code by reducing the number of tests running until a minimal set that reproduces the problem is found. However, it's very difficult to do this with trial because trial essentially randomizes the order of the tests it runs.
$ trial foo bar
This should run all tests discovered under foo and then all tests discovered under bar.