subunit 0.0.7

Milestone information

Project:
subunit
Series:
trunk
Version:
0.0.7
Released:
 
Registrant:
Robert Collins
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Jelmer Vernooij, 2 Jonathan Lange, 1 Martin Packman, 4 Robert Collins
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
8 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon subunit-0.0.7.tar.gz (md5, sig) Source tarball. 105
last downloaded 30 weeks ago
Total downloads: 105

Release notes 

The Subunit Python test runner ``python -m subunit.run`` can now report the
test ids and also filter via a test id list file thanks to improvements in
``testtools.run``. See the testtools manual, or testrepository - a major
user of such functionality.

Additionally the protocol now has a keyword uxsuccess for Unexpected Success
reporting. Older parsers will report tests with this status code as 'lost
connection'.

Changelog 

View the full changelog

IMPROVEMENTS
~~~~~~~~~~~~

* Add ``TimeCollapsingDecorator`` which collapses multiple sequential time()
  calls into just the first and last. (Jonathan Lange)

* Add ``TagCollapsingDecorator`` which collapses many tags() calls into one
  where possible. (Jonathan Lange, Robert Collins)

* Force flush of writes to stdout in c/tests/test_child.
  (Jelmer Vernooij, #687611)

* Provisional Python 3.x support.
  (Robert Collins, Tres Seaver, Martin[gz], #666819)

* ``subunit.chunked.Decoder`` Python class takes a new ``strict`` option,
  which defaults to ``True``. When ``False``, the ``Decoder`` will accept
  incorrect input that is still unambiguous. i.e. subunit will not barf if
  a \r is missing from the input. (Martin Pool)

* ``subunit-filter`` preserves the relative ordering of ``time:`` statements,
  so you can now use filtered streams to gather data about how long it takes
  to run a test. (Jonathan Lange, #716554)

* ``subunit-ls`` now handles a stream with time: instructions that start
  partway through the stream (which may lead to strange times) more gracefully.
  (Robert Collins, #785954)

* ``subunit-ls`` should handle the new test outcomes in Python2.7 better.
  (Robert Collins, #785953)

* ``TestResultFilter`` now collapses sequential calls to time().
  (Jonathan Lange, #567150)

* ``TestResultDecorator.tags()`` now actually works, and is no longer a buggy
  copy/paste of ``TestResultDecorator.time()``. (Jonathan Lange, #681828)

* ``TestResultFilter`` now supports a ``fixup_expected_failures``
  argument. (Jelmer Vernooij, #755241)

* The ``subunit.run`` Python module supports ``-l`` and ``--load-list`` as
  per ``testtools.run``. This required a dependency bump due to a small
  API change in ``testtools``. (Robert Collins)

* The help for subunit-filter was confusing about the behaviour of ``-f`` /
  ``--no-failure``. (Robert Collins, #703392)

* The Python2.7 / testtools addUnexpectedSuccess API is now supported. This
  required adding a new status code to the protocol. (Robert Collins, #654474)

=======
CHANGES
~~~~~~~

* testtools 0.9.11 or newer is new needed (due to the Python 3 support).
  (Robert Collins)

0 blueprints and 8 bugs targeted

Bug report Importance Assignee Status
687611 #687611 test_stdout_function fails misses output 2 Critical Jelmer Vernooij  10 Fix Released
716554 #716554 subunit-filter mangles time information 2 Critical Jonathan Lange  10 Fix Released
785953 #785953 skip handling broken 2 Critical Robert Collins  10 Fix Released
785954 #785954 subunit-ls time handling if time not first instruction broken 2 Critical Robert Collins  10 Fix Released
635702 #635702 addError broken with some versions of testtools 4 Medium Jonathan Lange  10 Fix Released
770519 #770519 Test failures and stream leaking in test_test_protocol suite 4 Medium Martin Packman  10 Fix Released
654474 #654474 An unexpectedSuccess is like a failure not a success 6 Wishlist Robert Collins  10 Fix Released
666819 #666819 Cannot use subunit with Python 3 6 Wishlist Robert Collins  10 Fix Released
This milestone contains Public information
Everyone can see this information.