testtools.run should support selecting tests by id

Bug #505386 reported by Robert Collins
10
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.

Tags: runner
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 505386] [NEW] testtools.run should support selecting tests by id

Oh, and for bonus points --include-from-file --exclude-from-file.

Revision history for this message
Robert Collins (lifeless) wrote :

We've landed --load-list, this is closely related, but not the same.

Jonathan Lange (jml)
tags: added: runner
Revision history for this message
Jonathan Lange (jml) wrote :

Somewhat related to bug 823928.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.