[Checkins] [zopefoundation/zope.testrunner] 73670b: Revert "Drop all support for 'subunit'."

GitHub noreply at github.com
Fri Jan 19 13:19:53 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testrunner
  Commit: 73670ba35398315e6642d38bcd7995722fc83f30
      https://github.com/zopefoundation/zope.testrunner/commit/73670ba35398315e6642d38bcd7995722fc83f30
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M .travis.yml
    M appveyor.yml
    M docs/getting-started.rst
    M setup.py
    M src/zope/testrunner/formatter.py
    M src/zope/testrunner/options.py
    M src/zope/testrunner/tests/test_doctest.py
    A src/zope/testrunner/tests/test_subunit.py
    A src/zope/testrunner/tests/testrunner-subunit-err.rst
    A src/zope/testrunner/tests/testrunner-subunit-leaks.rst
    A src/zope/testrunner/tests/testrunner-subunit.rst
    M tox.ini

  Log Message:
  -----------
  Revert "Drop all support for 'subunit'."

This reverts commit 250c1bdae536464e7d7c9cbdbcd0190a344544ae (with some
adjustments to sync it up with the rest of the current code).


  Commit: 26c10e6c45e51a02876f3d95ff70d78a2dc35f6b
      https://github.com/zopefoundation/zope.testrunner/commit/26c10e6c45e51a02876f3d95ff70d78a2dc35f6b
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M docs/getting-started.rst

  Log Message:
  -----------
  Fix subunit URL reference


  Commit: 5e47124d9996ec5fb2b4b6a7882beba525b03c8b
      https://github.com/zopefoundation/zope.testrunner/commit/5e47124d9996ec5fb2b4b6a7882beba525b03c8b
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M CHANGES.rst
    M setup.py
    M src/zope/testrunner/formatter.py
    M src/zope/testrunner/options.py
    M src/zope/testrunner/runner.py
    M src/zope/testrunner/tests/test_doctest.py
    M src/zope/testrunner/tests/test_subunit.py
    M src/zope/testrunner/tests/testrunner-subunit-err.rst
    A src/zope/testrunner/tests/testrunner-subunit-v2.rst
    M src/zope/testrunner/tests/testrunner-subunit.rst

  Log Message:
  -----------
  Add subunit v2 support


  Commit: a4a203859529fa4c802acc73b18bf44850107365
      https://github.com/zopefoundation/zope.testrunner/commit/a4a203859529fa4c802acc73b18bf44850107365
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M .travis.yml
    M appveyor.yml
    M tox.ini

  Log Message:
  -----------
  Test subunit for all Python versions


  Commit: 8efe1ae87117eab363898c1bf266c5729728dbe6
      https://github.com/zopefoundation/zope.testrunner/commit/8efe1ae87117eab363898c1bf266c5729728dbe6
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-10 (Wed, 10 Jan 2018)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Fix .travis.yml syntax


  Commit: 2c201dfa09eb8f1b76432a34660321f53c3635d5
      https://github.com/zopefoundation/zope.testrunner/commit/2c201dfa09eb8f1b76432a34660321f53c3635d5
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M src/zope/testrunner/formatter.py
    M src/zope/testrunner/tests/testrunner-subunit-v2.rst
    M src/zope/testrunner/tests/testrunner-subunit.rst

  Log Message:
  -----------
  Add prefixes to temporary files/directories


  Commit: 645410250c467cfb8e75fa1f651734c762f9ff17
      https://github.com/zopefoundation/zope.testrunner/commit/645410250c467cfb8e75fa1f651734c762f9ff17
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M src/zope/testrunner/formatter.py

  Log Message:
  -----------
  Emit more specific details from test_threads


  Commit: 41a94be7990c2d94ad85be6cd31cefc41eb9f3f4
      https://github.com/zopefoundation/zope.testrunner/commit/41a94be7990c2d94ad85be6cd31cefc41eb9f3f4
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M src/zope/testrunner/formatter.py

  Log Message:
  -----------
  Use unicode() for errors


  Commit: d5fcdbc410fa7b276439340f45a300c6bc05089e
      https://github.com/zopefoundation/zope.testrunner/commit/d5fcdbc410fa7b276439340f45a300c6bc05089e
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-18 (Thu, 18 Jan 2018)

  Changed paths:
    M src/zope/testrunner/tests/test_subunit.py

  Log Message:
  -----------
  Simplify test_subunit slightly


  Commit: 18492cd828b9f99c7fa7cd494bf11924615d0914
      https://github.com/zopefoundation/zope.testrunner/commit/18492cd828b9f99c7fa7cd494bf11924615d0914
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-19 (Fri, 19 Jan 2018)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-subunit-v2.rst

  Log Message:
  -----------
  Make sure sys.stdout is restored properly


  Commit: 04c97db8f88ece582438f2981a447a9651423f6e
      https://github.com/zopefoundation/zope.testrunner/commit/04c97db8f88ece582438f2981a447a9651423f6e
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-19 (Fri, 19 Jan 2018)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-subunit-v2.rst
    M src/zope/testrunner/tests/testrunner-subunit.rst

  Log Message:
  -----------
  Remove a comment that doesn't seem to make sense

As far as I can tell it doesn't matter whether there are remaining tests
to run here.


  Commit: 9489efdd2e4c34b74cd7fbaa58ee12bd4ed1fe59
      https://github.com/zopefoundation/zope.testrunner/commit/9489efdd2e4c34b74cd7fbaa58ee12bd4ed1fe59
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-19 (Fri, 19 Jan 2018)

  Changed paths:
    A src/zope/testrunner/tests/testrunner-ex/sample2/badsyntax.py
    M src/zope/testrunner/tests/testrunner-subunit-v2.rst
    M src/zope/testrunner/tests/testrunner-subunit.rst

  Log Message:
  -----------
  Move module import error test into testrunner-ex

We no longer need to make a temporary copy of the test tree so that we
can write into it.


  Commit: a50f114a2eb0fb15718ce2a4ea10db4c9a15b502
      https://github.com/zopefoundation/zope.testrunner/commit/a50f114a2eb0fb15718ce2a4ea10db4c9a15b502
  Author: Colin Watson <cjwatson at debian.org>
  Date:   2018-01-19 (Fri, 19 Jan 2018)

  Changed paths:
    M src/zope/testrunner/tests/testrunner-subunit-v2.rst
    M src/zope/testrunner/tests/testrunner-subunit.rst

  Log Message:
  -----------
  Fix grammar


  Commit: 7034db4bf6adc1154a3055bf263f452f43d26198
      https://github.com/zopefoundation/zope.testrunner/commit/7034db4bf6adc1154a3055bf263f452f43d26198
  Author: Colin Watson <cjwatson at ubuntu.com>
  Date:   2018-01-19 (Fri, 19 Jan 2018)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M appveyor.yml
    M docs/getting-started.rst
    M setup.py
    M src/zope/testrunner/formatter.py
    M src/zope/testrunner/options.py
    M src/zope/testrunner/runner.py
    M src/zope/testrunner/tests/test_doctest.py
    A src/zope/testrunner/tests/test_subunit.py
    A src/zope/testrunner/tests/testrunner-ex/sample2/badsyntax.py
    A src/zope/testrunner/tests/testrunner-subunit-err.rst
    A src/zope/testrunner/tests/testrunner-subunit-leaks.rst
    A src/zope/testrunner/tests/testrunner-subunit-v2.rst
    A src/zope/testrunner/tests/testrunner-subunit.rst
    M tox.ini

  Log Message:
  -----------
  Merge pull request #70 from cjwatson/reintroduce-subunit

Reintroduce subunit support

This reintroduces the support for subunit that was dropped in 4.7.0, and
adds support for the subunit v2 protocol.  The runner now makes
bytes/text distinctions that match those expected by subunit, and the
subunit options are now tested on all supported Python versions.

There are still reasons why users might prefer to use subunit v1: for
instance, they might be processing the output using a version of subunit
that's too old to support the v2 protocol, or they might rely on the
distinction between failures and errors
(https://bugs.launchpad.net/subunit/+bug/1740158).  I've therefore
preserved the --subunit option for v1 and added a new --subunit-v2
option.


Compare: https://github.com/zopefoundation/zope.testrunner/compare/51736c187898...7034db4bf6ad


More information about the checkins mailing list