10 * License change, by unanimous agreement of contributors to BSD/Apache
11 License Version 2.0. This makes Subunit compatible with more testing
16 * CPPUnit is now directly supported: subunit builds a cppunit listener
17 ``libcppunit-subunit``.
19 * INSTALLDIRS can be set to control the perl MakeMaker 'INSTALLDIRS'
20 viarable when installing.
22 * subunit2junitxml supports a new option, --forward which causes it
23 to forward the raw subunit stream in a similar manner to tee. This
24 is used with the -o option to both write a xml report and get some
25 other subunit filter to process the stream.
27 * The C library now has ``subunit_test_skip``.
31 * Install progress_model.py correctly.
33 * Non-gcc builds will no longer try to use gcc specific flags.
34 (Thanks trondn-norbye)
47 * A number of filters now support ``--no-passthrough`` to cause all
48 non-subunit content to be discarded. This is useful when precise control
49 over what is output is required - such as with subunit2junitxml.
51 * A small perl parser is now included, and a new ``subunit-diff`` tool
52 using that is included. (Jelmer Vernooij)
54 * Subunit streams can now include optional, incremental lookahead
55 information about progress. This allows reporters to make estimates
56 about completion, when such information is available. See the README
57 under ``progress`` for more details.
59 * ``subunit-filter`` now supports regex filtering via ``--with`` and
60 ``without`` options. (Martin Pool)
62 * ``subunit2gtk`` has been added, a filter that shows a GTK summary of a
65 * ``subunit2pyunit`` has a --progress flag which will cause the bzrlib
66 test reporter to be used, which has a textual progress bar. This requires
67 a recent bzrlib as a minor bugfix was required in bzrlib to support this.
69 * ``subunit2junitxml`` has been added. This filter converts a subunit
70 stream to a single JUnit style XML stream using the pyjunitxml
73 * The shell functions support skipping via ``subunit_skip_test`` now.
77 * ``xfail`` outcomes are now passed to python TestResult's via
78 addExpectedFailure if it is present on the TestResult. Python 2.6 and
79 earlier which do not have this function will have ``xfail`` outcomes
80 passed through as success outcomes as earlier versions of subunit did.
84 * tags are no longer passed around in python via the ``TestCase.tags``
85 attribute. Instead ``TestResult.tags(new_tags, gone_tags)`` is called,
86 and like in the protocol, if called while a test is active only applies
87 to that test. (Robert Collins)
89 * ``TestResultFilter`` takes a new optional constructor parameter
90 ``filter_predicate``. (Martin Pool)
92 * When a progress: directive is encountered in a subunit stream, the
93 python bindings now call the ``progress(offset, whence)`` method on
96 * When a time: directive is encountered in a subunit stream, the python
97 bindings now call the ``time(seconds)`` method on ``TestResult``.
101 * (python) Added ``subunit.test_results.AutoTimingTestResultDecorator``. Most
102 users of subunit will want to wrap their ``TestProtocolClient`` objects
103 in this decorator to get test timing data for performance analysis.
105 * (python) ExecTestCase supports passing arguments to test scripts.
107 * (python) New helper ``subunit.test_results.HookedTestResultDecorator``
108 which can be used to call some code on every event, without having to
109 implement all the event methods.
111 * (python) ``TestProtocolClient.time(a_datetime)`` has been added which
112 causes a timestamp to be output to the stream.