failfast does not work with default testtools.run runner
Bug #1090582 reported by
Clark Boylan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subunit |
Fix Released
|
High
|
Robert Collins | ||
testtools |
Fix Released
|
High
|
Robert Collins |
Bug Description
When using the default testtools.run testrunner the --failfast options appears to be ignored.
eg `python -m testtools.run discover . --failfast`. I think this is happening because TestToolsTestRunner does not know about failfast. I initially discovered this in python-subunit when using subunit.run, but both default test runners appear to ignore failfast.
Related branches
lp:~lifeless/testtools/bug-1090582
- Jonathan Lange: Needs Fixing
-
Diff: 617 lines (+231/-50)8 files modifiedNEWS (+11/-0)
testtools/run.py (+13/-6)
testtools/testresult/doubles.py (+18/-0)
testtools/testresult/real.py (+101/-32)
testtools/tests/helpers.py (+4/-0)
testtools/tests/test_distutilscmd.py (+8/-8)
testtools/tests/test_run.py (+21/-4)
testtools/tests/test_testresult.py (+55/-0)
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in testtools: | |
assignee: | nobody → Robert Collins (lifeless) |
status: | Triaged → Fix Released |
milestone: | none → 0.9.23 |
Changed in subunit: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Robert Collins (lifeless) |
milestone: | none → next |
Changed in subunit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.