← Back to team overview

testtools-dev team mailing list archive

[Bug 505386] Re: testtools.run should support selecting tests by id

 

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

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/505386

Title:
  testtools.run should support selecting tests by id

Status in testtools:
  Triaged

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.