lp:~lifeless/testtools/discovery
- Get this branch:
- bzr branch lp:~lifeless/testtools/discovery
Branch merges
- Jonathan Lange: Approve
-
Diff: 78 lines (+24/-18)2 files modifiedMANUAL (+13/-0)
testtools/run.py (+11/-18)
Related bugs
Bug #592490: MANUAL does not describe testtools.run support for discovery | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 71. By Robert Collins
-
* Thanks to a patch from James Westby testtools.
matchers. Mismatch can now
supply a get_details method, which assertThat will query to provide
additional attachments. This can be used to provide additional detail
about the mismatch that doesn't suite being included in describe(). For
instance, if the match process was complex, a log of the process could be
included, permitting debugging. - 70. By Robert Collins
-
* testtools.
testresults. real._StringExc eption will now answer __str__ if its
value is unicode by encoding with UTF8, and vice versa to answer __unicode__.
This permits subunit decoded exceptions to contain unicode and still format
correctly. - 67. By Robert Collins
-
* James Westby has supplied test discovery support using the Python 2.7
TestRunner in testtools.run. This requires the 'discover' module. This
closes bug #250764. - 63. By Robert Collins
-
When a cleanUp or tearDown exception occurs, it is now accumulated as a new
traceback in the test details, rather than as a separate call to addError /
addException. This makes testtools work better with most TestResult objects
and fixes bug #335816.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~testtools-committers/testtools/trunk