testtools.run should support selecting tests by id
Bug #505386 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Strawman:
testtools.run --include foo --include bar # loads all, makes empty and starts including
testtools.run --exclude bar --exclude gam # loads all, starts discarding
testtools.run --include foo --exclude bar # loads all, make empty, includes foo, then discards bar
This should preserve suites as testresources does. One tricky bit of interaction would be to keep one big suite for testresources suites.
Oh, and for bonus points --include-from-file --exclude- from-file.