Debian Codegraph @

NEWS

raw
1 ---------------------
2 subunit release notes
3 ---------------------
4
5 1.4.6 (2026-05-04)
6 ---------------------
7
8 BUG FIXES
9 ~~~~~~~~~
10
11 * Fix compatibility with testtools 2.8.2. (Jelmer Vernooij)
12
13 * Fix ``ExecTestCase`` to work without executable permissions on the
14 test script. (Jelmer Vernooij)
15
16 * Fix ``ExecTestCase`` to properly handle shell scripts. (Jelmer Vernooij)
17
18 IMPROVEMENTS
19 ~~~~~~~~~~~~
20
21 * Stop installing tests. (Jelmer Vernooij)
22
23 * Add ``subunit-combine`` script that runs multiple subunit-producing
24 commands and merges their streams, optionally prefixing each command's
25 test ids. (Jelmer Vernooij, #2150097)
26
27 * ``subunit-combine`` supports testr-style ``$LISTOPT``, ``$IDOPTION``,
28 ``$IDFILE`` and ``$IDLIST`` placeholders in command argv, along with
29 ``--list``, ``--load-list`` and positional test ids for per-command
30 filtering. (Jelmer Vernooij)
31
32 * Add ``gojson2subunit`` script for converting ``go test -json`` streams
33 to subunit. (Jelmer Vernooij)
34
35 * Add ``junitxml2subunit`` script for converting JUnit XML test reports
36 to subunit. (Jelmer Vernooij)
37
38 1.4.5 (2025-11-10)
39 ---------------------
40
41 BUG FIXES
42 ~~~~~~~~~
43
44 * Drop support for Python 3.9.
45 (Jelmer Vernooij)
46
47 * Drop use of Python26 and Python27 test cases from testtools.
48 These are no longer relevant and no longer provided by
49 modern versions of testtools. (Jelmer Vernooij)
50
51 IMPROVEMENTS
52 ~~~~~~~~~~~~
53
54 * Add support for Python 3.14.
55 (Jelmer Vernooij)
56
57 1.4.4 (2023-11-17)
58 ------------------
59
60 BUG FIXES
61 ~~~~~~~~~
62
63 * Removed use of deprecated "utc" and "utcfromtimestamp"
64 methods of "datetime.datetime". (Jake Lishman)
65
66 * Fix an issue with date parsing exception handling
67 (Colin Watson)
68
69 IMPROVEMENTS
70 ~~~~~~~~~~~~
71
72 * Add support for Python 3.12
73 (Matthew Treinish)
74
75 * Drop support for Python 3.7 (Jelmer Vernooij)
76
77 1.4.3 (2023-09-17)
78 ---------------------
79
80 * Subunit now has a dependency on an external iso8601
81 module rather than shipping its own.
82 (Jelmer Vernooij)
83
84 IMPROVEMENTS
85 ~~~~~~~~~~~~
86
87 * Drop various compatibility wrappers for Python < 3.6.
88
89 BUG FIXES
90 ~~~~~~~~~
91
92 * Fix "subunit-filter --fixup-expected-failures"
93 on Python 3. (Jelmer Vernooij)
94
95 1.4.1
96
97 IMPROVEMENTS
98 ~~~~~~~~~~~~
99
100 * Add support for Python 3.9
101 (Thomas Grainger)
102
103 * Add support for Python 3.10
104 (Stephen Finucane)
105
106 * Drop support for Python 2.7, 3.4, and 3.5
107 (Stephen Finucane)
108
109 * Convert python scripts to entry_points.
110 (Matthew Treinish)
111
112 * Migrate CI from travis to GitHub actions.
113 (Matthew Treinish)
114
115 * Add options to output filter to set timestamps.
116 (Matthew Treinish)
117
118 * Remove dependency on unittest2.
119 (Matěj Cepl)
120
121 BUGFIXES
122 ~~~~~~~~
123
124 * Fix tests with testtools >= 2.5.0.
125 (Colin Watson)
126
127 * Mark rawstrings as such, fixing warnings.
128 (Stephen Finucane)
129
130 1.4.0
131 -----
132
133 IMPROVEMENTS
134 ~~~~~~~~~~~~
135
136 * Drop Python 3.3 support, and test on 3.5 and 3.6.
137 (Jelmer Vernooij)
138
139 * Add support for Python 3.7 and 3.8.
140 (Matthew Treinish)
141
142 * Improve readability of SubUnit v2 spec.
143 (Sergey Bronnikov)
144
145 * Add license to setup.py. (Sergiu)
146
147 BUGFIXES
148 ~~~~~~~~
149
150 * Migrate Gtk interface to GObject introspection.
151 (Haikel Guemar)
152
153 * Fix file open for python3. (Quique Llorente)
154
155 * Check written bytes are not None before summing them to offset.
156 (Federico Ressi, #1845631)
157
158 * Correctly handle py3 RawIOBase read(). (Stephen Finucane, partially #1813147)
159
160 1.3.0
161 -----
162
163 IMPROVEMENTS
164 ~~~~~~~~~~~~
165
166 * Add a --rename flag to subunit-filter.
167 (Jelmer Vernooij, #1758522)
168
169 BUGFIXES
170 ~~~~~~~~
171
172 * Fix make_stream_binary with FileIO object inputs.
173 (Matthew Treinish)
174
175 * Fix v2 run() on windows platforms.
176 (Claudiu Belu)
177
178 1.2.0
179 -----
180
181 IMPROVEMENTS
182 ~~~~~~~~~~~~
183
184 * Fixed handling of incomplete writes with eventlet on Python3.
185 (Victor Stinner)
186
187 * Added subunit2disk, which explodes a stream out to files on disk.
188 (Robert Collins)
189
190 1.1.0
191 -----
192
193 BUGFIXES
194 ~~~~~~~~
195
196 * Unencapsulated strings and encapsulated stdout will be forwarded by
197 subunit-2to1. (Robert Collins, #1400519)
198
199 * SUBUNIT_FORMATTER which has not been honoured for years is now removed from
200 the codebase. (Jelmer Vernooij)
201
202 IMPROVEMENTS
203 ~~~~~~~~~~~~
204
205 * ``subunit.run`` now supports ``--locals`` to show local variables in
206 tracebacks. (Robert Collins)
207
208 1.0.0
209 -----
210
211 BUGFIXES
212 ~~~~~~~~
213
214 * Tests have been fixed with testtools 1.2.0 and above.
215 (Robert Collins)
216
217 IMPROVEMENTS
218 ~~~~~~~~~~~~
219
220 * With testtools 1.4.0 and above import errors are now
221 shown in detail by ``subunit.run``. (Robert Collins)
222
223 0.0.21
224 ------
225
226 BUGFIXES
227 ~~~~~~~~
228
229 * Brown bag bugfix - 0.0.20's setup.py referenced cvs not csv.
230 (Robert Collins, #1361924)
231
232 0.0.20
233 ------
234
235 BUGFIXES
236 ~~~~~~~~
237
238 * subunit2csv is now installed when using pip.
239 (Robert Collins, #1279669)
240
241 * testscenarios is now a test dependency, not an install dependency.
242 (Arfrever Frehtes Taifersar Arahesis, #1292757)
243
244 * The python-subunit tarball can now have setup run from the current
245 directory. (Robert Collins, #1361857)
246
247 0.0.19
248 ------
249
250 IMPROVEMENTS
251 ~~~~~~~~~~~~
252
253 * ``subunit.run`` in Python will now exit 0 as long as the test stream has
254 been generated correctly - this has always been the intent but API friction
255 with testtools had prevented it working.
256 (Robert Collins)
257
258 0.0.18
259 ------
260
261 IMPROVEMENTS
262 ~~~~~~~~~~~~
263
264 * Fix compatibility with testtools 0.9.35 which dropped the 'all' compat
265 symbol. This breaks support for Python versions lower than 2.6.
266 (Robert Collins, #1274056)
267
268 0.0.17
269 ------
270
271 IMPROVEMENTS
272 ~~~~~~~~~~~~
273
274 * Add ``subunit-output`` tool that can generate a Subunit v2 bytestream from
275 arguments passed on the command line. (Thomi Richards, #1252084)
276
277 0.0.16
278 ------
279
280 BUG FIXES
281 ~~~~~~~~~
282
283 * Perl files should now honour perl system config.
284 (Benedikt Morbach, #1233198)
285
286 * Python 3.1 and 3.2 have an inconsistent memoryview implementation which
287 required a workaround for NUL byte detection. (Robert Collins, #1216246)
288
289 * The test suite was failing 6 tests due to testtools changing it's output
290 formatting of exceptions. (Robert Collins)
291
292 * V2 parser errors now set appropriate mime types for the encapsulated packet
293 data and the error message. (Robert Collins)
294
295 * When tests fail to import ``python subunit.run -l ...`` will now write a
296 subunit file attachment listing the failed imports and exit 2, rather than
297 listing the stub objects from the importer and exiting 0.
298 (Robert Collins, #1245672)
299
300 IMPROVEMENTS
301 ~~~~~~~~~~~~
302
303 * Most filters will now accept a file path argument instead of only reading
304 from stdin. (Robert Collins, #409206)
305
306 0.0.15
307 ------
308
309 BUG FIXES
310 ~~~~~~~~~
311
312 * Clients of subunit did not expect memoryview objects in StreamResult events.
313 (Robert Collins)
314
315 * Memoryview and struct were mutually incompatible in 2.7.3 and 3.2.
316 (Robert Collins, #1216163)
317
318 0.0.14
319 ------
320
321 BUG FIXES
322 ~~~~~~~~~
323
324 * Memoryview detection was broken and thus it's use was never really tested.
325 (Robert Collins, 1216101)
326
327 * TestProtocol2's tag tests were set sort order dependent.
328 (Robert Collins, #1025392)
329
330 * TestTestProtocols' test_tags_both was set sort order dependent.
331 (Robert Collins, #1025392)
332
333 * TestTestProtocols' test_*_details were dictionary sort order dependent.
334 (Robert Collins, #1025392)
335
336 * TestSubUnitTags's test_add_tag was also se sort order dependent.
337 (Robert Collins, #1025392)
338
339 0.0.13
340 ------
341
342 IMPROVEMENTS
343 ~~~~~~~~~~~~
344
345 * subunit should now build with automake 1.11 again. (Robert Collins)
346
347 * `subunit-stats` no longer outputs encapsulated stdout as subunit.
348 (Robert Collins, #1171987)
349
350 * The logic for `subunit.run` is now importable via python -
351 `subunit.run.main`. (Robert Collins, #606770)
352
353 BUG FIXES
354 ~~~~~~~~~
355
356 * Removed GPL files that were (C) non Subunit Developers - they are
357 incompatible for binary distribution, which affects redistributors.
358 (Robert Collins, #1185591)
359
360 0.0.12
361 ------
362
363 BUG FIXES
364 ~~~~~~~~~
365
366 * Subunit v2 packets with both file content and route code were not being
367 parsed correctly - they would incorrectly emit a parser error, due to trying
368 to parse the route code length from the first byes of the file content.
369 (Robert Collins, 1172815)
370
371 0.0.11
372 ------
373
374 v2 protocol draft included in this release. The v2 protocol trades off human
375 readability for a massive improvement in robustness, the ability to represent
376 concurrent tests in a single stream, cheaper parsing, and that provides
377 significantly better in-line debugging support and structured forwarding
378 of non-test data (such as stdout or stdin data).
379
380 This change includes two new filters (subunit-1to2 and subunit-2to1). Use
381 these filters to convert old streams to v2 and convert v2 streams to v1.
382
383 All the other filters now only parse and emit v2 streams. V2 is still in
384 draft format, so if you want to delay and wait for v2 to be finalised, you
385 should use subunit-2to1 before any serialisation steps take place.
386 With the ability to encapsulate multiple non-test streams, another significant
387 change is that filters which emit subunit now encapsulate any non-subunit they
388 encounter, labelling it 'stdout'. This permits multiplexing such streams and
389 detangling the stdout streams from each input.
390
391 The subunit libraries (Python etc) have not changed their behaviour: they
392 still emit v1 from their existing API calls. New API's are being added
393 and applications should migrate once their language has those API's available.
394
395 IMPROVEMENTS
396 ~~~~~~~~~~~~
397
398 * ``subunit.run`` now replaces sys.stdout to ensure that stdout is unbuffered
399 - without this pdb output is not reliably visible when stdout is a pipe
400 as it usually is. (Robert Collins)
401
402 * v2 protocol draft included in this release. (Python implementation only so
403 far). (Robert Collins)
404
405 * Two new Python classes -- ``StreamResultToBytes`` and
406 ``ByteStreamToStreamResult`` handle v2 generation and parsing.
407 (Robert Collins)
408
409 0.0.10
410 ------
411
412 BUG FIXES
413 ~~~~~~~~~
414
415 * make_stream_binary is now public for reuse. (Robert Collins)
416
417 * NAME was not defined in the protocol BNF. (Robert Collins)
418
419 * UnsupportedOperation is available in the Python2.6 io library, so ask
420 forgiveness rather than permission for obtaining it. (Robert Collins)
421
422 * Streams with no fileno() attribute are now supported, but they are not
423 checked for being in binary mode: be sure to take care of that if using
424 the library yourself. (Robert Collins)
425
426 0.0.9
427 -----
428
429 BUG FIXES
430 ~~~~~~~~~
431
432 * All the source files are now included in the distribution tarball.
433 (Arfrever Frehtes Taifersar Arahesis, Robert Collins, #996275)
434
435 * ``python/subunit/tests/test_run.py`` and ``python/subunit/filters.py`` were
436 not included in the 0.0.8 tarball. (Robert Collins)
437
438 * Test ids which include non-ascii unicode characters are now supported.
439 (Robert Collins, #1029866)
440
441 * The ``failfast`` option to ``subunit.run`` will now work. The dependency on
442 testtools has been raised to 0.9.23 to permit this.
443 (Robert Collins, #1090582)
444
445 0.0.8
446 -----
447
448 IMPROVEMENTS
449 ~~~~~~~~~~~~
450
451 * Perl module now correctly outputs "failure" instead of "fail". (Stewart Smith)
452
453 * Shell functions now output timestamps. (Stewart Smith, Robert Collins)
454
455 * 'subunit2csv' script that converts subunit output to CSV format.
456 (Jonathan Lange)
457
458 * ``TagCollapsingDecorator`` now correctly distinguishes between local and
459 global tags. (Jonathan Lange)
460
461 * ``TestResultFilter`` always forwards ``time:`` events.
462 (Benji York, Brad Crittenden)
463
464 BUG FIXES
465 ~~~~~~~~~
466
467 * Add 'subunit --no-xfail', which will omit expected failures from the subunit
468 stream. (John Arbash Meinel, #623642)
469
470 * Add 'subunit -F/--only-genuine-failures' which sets all of '--no-skips',
471 '--no-xfail', '--no-passthrough, '--no-success', and gives you just the
472 failure stream. (John Arbash Meinel)
473
474 * Python2.6 support was broken by the fixup feature.
475 (Arfrever Frehtes Taifersar Arahesis, #987490)
476
477 * Python3 support regressed in trunk.
478 (Arfrever Frehtes Taifersar Arahesis, #987514)
479
480 * Python3 support was insufficiently robust in detecting unicode streams.
481 (Robert Collins, Arfrever Frehtes Taifersar Arahesis)
482
483 * Tag support has been implemented for TestProtocolClient.
484 (Robert Collins, #518016)
485
486 * Tags can now be filtered. (Jonathan Lange, #664171)
487
488 * Test suite works with latest testtools (but not older ones - formatting
489 changes only). (Robert Collins)
490
491 0.0.7
492 -----
493
494 The Subunit Python test runner ``python -m subunit.run`` can now report the
495 test ids and also filter via a test id list file thanks to improvements in
496 ``testtools.run``. See the testtools manual, or testrepository - a major
497 user of such functionality.
498
499 Additionally the protocol now has a keyword uxsuccess for Unexpected Success
500 reporting. Older parsers will report tests with this status code as 'lost
501 connection'.
502
503 IMPROVEMENTS
504 ~~~~~~~~~~~~
505
506 * Add ``TimeCollapsingDecorator`` which collapses multiple sequential time()
507 calls into just the first and last. (Jonathan Lange)
508
509 * Add ``TagCollapsingDecorator`` which collapses many tags() calls into one
510 where possible. (Jonathan Lange, Robert Collins)
511
512 * Force flush of writes to stdout in c/tests/test_child.
513 (Jelmer Vernooij, #687611)
514
515 * Provisional Python 3.x support.
516 (Robert Collins, Tres Seaver, Martin[gz], #666819)
517
518 * ``subunit.chunked.Decoder`` Python class takes a new ``strict`` option,
519 which defaults to ``True``. When ``False``, the ``Decoder`` will accept
520 incorrect input that is still unambiguous. i.e. subunit will not barf if
521 a \r is missing from the input. (Martin Pool)
522
523 * ``subunit-filter`` preserves the relative ordering of ``time:`` statements,
524 so you can now use filtered streams to gather data about how long it takes
525 to run a test. (Jonathan Lange, #716554)
526
527 * ``subunit-ls`` now handles a stream with time: instructions that start
528 partway through the stream (which may lead to strange times) more gracefully.
529 (Robert Collins, #785954)
530
531 * ``subunit-ls`` should handle the new test outcomes in Python2.7 better.
532 (Robert Collins, #785953)
533
534 * ``TestResultFilter`` now collapses sequential calls to time().
535 (Jonathan Lange, #567150)
536
537 * ``TestResultDecorator.tags()`` now actually works, and is no longer a buggy
538 copy/paste of ``TestResultDecorator.time()``. (Jonathan Lange, #681828)
539
540 * ``TestResultFilter`` now supports a ``fixup_expected_failures``
541 argument. (Jelmer Vernooij, #755241)
542
543 * The ``subunit.run`` Python module supports ``-l`` and ``--load-list`` as
544 per ``testtools.run``. This required a dependency bump due to a small
545 API change in ``testtools``. (Robert Collins)
546
547 * The help for subunit-filter was confusing about the behaviour of ``-f`` /
548 ``--no-failure``. (Robert Collins, #703392)
549
550 * The Python2.7 / testtools addUnexpectedSuccess API is now supported. This
551 required adding a new status code to the protocol. (Robert Collins, #654474)
552
553 CHANGES
554 ~~~~~~~
555
556 * testtools 0.9.11 or newer is new needed (due to the Python 3 support).
557 (Robert Collins)
558
559 0.0.6
560 -----
561
562 This release of subunit fixes a number of unicode related bugs. This depends on
563 testtools 0.9.4 and will not function without it. Thanks to Tres Seaver there
564 is also an optional native setup.py file for use with easy_install and the
565 like.
566
567 BUG FIXES
568 ~~~~~~~~~
569
570 * Be consistent about delivering unicode content to testtools StringException
571 class which has become (appropriately) conservative. (Robert Collins)
572
573 * Fix incorrect reference to subunit_test_failf in c/README.
574 (Brad Hards, #524341)
575
576 * Fix incorrect ordering of tags method parameters in TestResultDecorator. This
577 is purely cosmetic as the parameters are passed down with no interpretation.
578 (Robert Collins, #537611)
579
580 * Old style tracebacks with no encoding info are now treated as UTF8 rather
581 than some-random-codec-like-ascii. (Robert Collins)
582
583 * On windows, ProtocolTestCase and TestProtocolClient will set their streams to
584 binary mode by calling into msvcrt; this avoids having their input or output
585 mangled by the default line ending translation on that platform.
586 (Robert Collins, Martin [gz], #579296)
587
588 IMPROVEMENTS
589 ~~~~~~~~~~~~
590
591 * Subunit now has a setup.py for python deployments that are not using
592 distribution packages. (Tres Seaver, #538181)
593
594 * Subunit now supports test discovery by building on the testtools support for
595 it. You can take advantage of it with "python -m subunit.run discover [path]"
596 and see "python -m subunit.run discover --help" for more options.
597
598 * Subunit now uses the improved unicode support in testtools when outputting
599 non-details based test information; this should consistently UTF8 encode such
600 strings.
601
602 * The Python TestProtocolClient now flushes output on startTest and stopTest.
603 (Martin [gz]).
604
605
606 0.0.5
607 -----
608
609 BUG FIXES
610 ~~~~~~~~~
611
612 * make check was failing if subunit wasn't installed due to a missing include
613 path for the test program test_child.
614
615 * make distcheck was failing due to a missing $(top_srcdir) rune.
616
617 IMPROVEMENTS
618 ~~~~~~~~~~~~
619
620 * New filter `subunit-notify` that will show a notification window with test
621 statistics when the test run finishes.
622
623 * subunit.run will now pipe its output to the command in the
624 SUBUNIT_FORMATTER environment variable, if set.
625
626 0.0.4
627 -----
628
629 BUG FIXES
630 ~~~~~~~~~
631
632 * subunit2junitxml -f required a value, this is now fixed and -f acts as a
633 boolean switch with no parameter.
634
635 * Building with autoconf 2.65 is now supported.
636
637
638 0.0.3
639 -----
640
641 CHANGES:
642
643 * License change, by unanimous agreement of contributors to BSD/Apache
644 License Version 2.0. This makes Subunit compatible with more testing
645 frameworks.
646
647 IMPROVEMENTS:
648
649 * CPPUnit is now directly supported: subunit builds a cppunit listener
650 ``libcppunit-subunit``.
651
652 * In the python API ``addExpectedFailure`` and ``addUnexpectedSuccess``
653 from python 2.7/3.1 are now supported. ``addExpectedFailure`` is
654 serialised as ``xfail``, and ``addUnexpectedSuccess`` as ``success``.
655 The ``ProtocolTestCase`` parser now calls outcomes using an extended
656 API that permits attaching arbitrary MIME resources such as text files
657 log entries and so on. This extended API is being developed with the
658 Python testing community, and is in flux. ``TestResult`` objects that
659 do not support the API will be detected and transparently downgraded
660 back to the regular Python unittest API.
661
662 * INSTALLDIRS can be set to control the perl MakeMaker 'INSTALLDIRS'
663 viarable when installing.
664
665 * Multipart test outcomes are tentatively supported; the exact protocol
666 for them, both serialiser and object is not yet finalised. Testers and
667 early adopters are sought. As part of this and also in an attempt to
668 provider a more precise focus on the wire protocol and toolchain,
669 Subunit now depends on testtools (http://launchpad.net/testtools)
670 release 0.9.0 or newer.
671
672 * subunit2junitxml supports a new option, --forward which causes it
673 to forward the raw subunit stream in a similar manner to tee. This
674 is used with the -o option to both write a xml report and get some
675 other subunit filter to process the stream.
676
677 * The C library now has ``subunit_test_skip``.
678
679 BUG FIXES:
680
681 * Install progress_model.py correctly.
682
683 * Non-gcc builds will no longer try to use gcc specific flags.
684 (Thanks trondn-norbye)
685
686 API CHANGES:
687
688 INTERNALS:
689
690 0.0.2
691 -----
692
693 CHANGES:
694
695 IMPROVEMENTS:
696
697 * A number of filters now support ``--no-passthrough`` to cause all
698 non-subunit content to be discarded. This is useful when precise control
699 over what is output is required - such as with subunit2junitxml.
700
701 * A small perl parser is now included, and a new ``subunit-diff`` tool
702 using that is included. (Jelmer Vernooij)
703
704 * Subunit streams can now include optional, incremental lookahead
705 information about progress. This allows reporters to make estimates
706 about completion, when such information is available. See the README
707 under ``progress`` for more details.
708
709 * ``subunit-filter`` now supports regex filtering via ``--with`` and
710 ``without`` options. (Martin Pool)
711
712 * ``subunit2gtk`` has been added, a filter that shows a GTK summary of a
713 test stream.
714
715 * ``subunit2pyunit`` has a --progress flag which will cause the bzrlib
716 test reporter to be used, which has a textual progress bar. This requires
717 a recent bzrlib as a minor bugfix was required in bzrlib to support this.
718
719 * ``subunit2junitxml`` has been added. This filter converts a subunit
720 stream to a single JUnit style XML stream using the pyjunitxml
721 python library.
722
723 * The shell functions support skipping via ``subunit_skip_test`` now.
724
725 BUG FIXES:
726
727 * ``xfail`` outcomes are now passed to python TestResult's via
728 addExpectedFailure if it is present on the TestResult. Python 2.6 and
729 earlier which do not have this function will have ``xfail`` outcomes
730 passed through as success outcomes as earlier versions of subunit did.
731
732 API CHANGES:
733
734 * tags are no longer passed around in python via the ``TestCase.tags``
735 attribute. Instead ``TestResult.tags(new_tags, gone_tags)`` is called,
736 and like in the protocol, if called while a test is active only applies
737 to that test. (Robert Collins)
738
739 * ``TestResultFilter`` takes a new optional constructor parameter
740 ``filter_predicate``. (Martin Pool)
741
742 * When a progress: directive is encountered in a subunit stream, the
743 python bindings now call the ``progress(offset, whence)`` method on
744 ``TestResult``.
745
746 * When a time: directive is encountered in a subunit stream, the python
747 bindings now call the ``time(seconds)`` method on ``TestResult``.
748
749 INTERNALS:
750
751 * (python) Added ``subunit.test_results.AutoTimingTestResultDecorator``. Most
752 users of subunit will want to wrap their ``TestProtocolClient`` objects
753 in this decorator to get test timing data for performance analysis.
754
755 * (python) ExecTestCase supports passing arguments to test scripts.
756
757 * (python) New helper ``subunit.test_results.HookedTestResultDecorator``
758 which can be used to call some code on every event, without having to
759 implement all the event methods.
760
761 * (python) ``TestProtocolClient.time(a_datetime)`` has been added which
762 causes a timestamp to be output to the stream.