13
* A number of filters now support ``--no-passthrough`` to cause all
14
non-subunit content to be discarded. This is useful when precise control
15
over what is output is required - such as with subunit2junitxml.
17
* A small perl parser is now included, and a new ``subunit-diff`` tool
18
using that is included. (Jelmer Vernooij)
20
* Subunit streams can now include optional, incremental lookahead
21
information about progress. This allows reporters to make estimates
22
about completion, when such information is available. See the README
23
under ``progress`` for more details.
25
* ``subunit-filter`` now supports regex filtering via ``--with`` and
26
``without`` options. (Martin Pool)
28
* ``subunit2gtk`` has been added, a filter that shows a GTK summary of a
31
* ``subunit2pyunit`` has a --progress flag which will cause the bzrlib
32
test reporter to be used, which has a textual progress bar. This requires
33
a recent bzrlib as a minor bugfix was required in bzrlib to support this.
35
* ``subunit2junitxml`` has been added. This filter converts a subunit
36
stream to a single JUnit style XML stream using the pyjunitxml
39
* The shell functions support skipping via ``subunit_skip_test`` now.
43
* ``xfail`` outcomes are now passed to python TestResult's via
44
addExpectedFailure if it is present on the TestResult. Python 2.6 and
45
earlier which do not have this function will have ``xfail`` outcomes
46
passed through as success outcomes as earlier versions of subunit did.
50
* tags are no longer passed around in python via the ``TestCase.tags``
51
attribute. Instead ``TestResult.tags(new_tags, gone_tags)`` is called,
52
and like in the protocol, if called while a test is active only applies
53
to that test. (Robert Collins)
55
* ``TestResultFilter`` takes a new optional constructor parameter
56
``filter_predicate``. (Martin Pool)
58
* When a progress: directive is encountered in a subunit stream, the
59
python bindings now call the ``progress(offset, whence)`` method on
62
* When a time: directive is encountered in a subunit stream, the python
63
bindings now call the ``time(seconds)`` method on ``TestResult``.
67
* (python) Added ``subunit.test_results.AutoTimingTestResultDecorator``. Most
68
users of subunit will want to wrap their ``TestProtocolClient`` objects
69
in this decorator to get test timing data for performance analysis.
71
* (python) ExecTestCase supports passing arguments to test scripts.
73
* (python) New helper ``subunit.test_results.HookedTestResultDecorator``
74
which can be used to call some code on every event, without having to
75
implement all the event methods.
77
* (python) ``TestProtocolClient.time(a_datetime)`` has been added which
78
causes a timestamp to be output to the stream.