[TIP] alphabetical order in testing
jml at mumak.net
Mon Jan 25 03:53:48 PST 2010
On Wed, Jan 20, 2010 at 10:42 AM, holger krekel <holger at merlinux.eu> wrote:
> Some way of telling a test runner to consider tests in a certain
> order makes sense to me, though.
Well, one natural way is allowing test modules to define their own
test loader hook, say, a function called "test_suite". Then users can
build their own TestSuite object and return that. It works since
TestSuite is what controls the ordering, more or less.
More information about the testing-in-python