[Checkins] [zopefoundation/zope.testrunner] f5c2a3: Improve output when layer setUp or tearDown fails
Colin Watson
noreply at github.com
Sun Oct 13 00:14:26 CEST 2019
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.testrunner
Commit: f5c2a379e097444b6778849baaa2589ab566ee52
https://github.com/zopefoundation/zope.testrunner/commit/f5c2a379e097444b6778849baaa2589ab566ee52
Author: Colin Watson <cjwatson at debian.org>
Date: 2019-10-12 (Sat, 12 Oct 2019)
Changed paths:
M CHANGES.rst
M src/zope/testrunner/formatter.py
M src/zope/testrunner/runner.py
M src/zope/testrunner/tests/testrunner-debugging-layer-setup.rst
A src/zope/testrunner/tests/testrunner-ex/brokenlayer.py
M src/zope/testrunner/tests/testrunner-subunit-v2.rst
M src/zope/testrunner/tests/testrunner-subunit.rst
Log Message:
-----------
Improve output when layer setUp or tearDown fails
In particular, the subunit output is now much more precise in this case.
This is based on work by Graham Binns, Gary Poster, and Francesco
Banconi in Launchpad's zope.testing fork.
Commit: d1a983852a356ba59f772bff8e29225897bf3c20
https://github.com/zopefoundation/zope.testrunner/commit/d1a983852a356ba59f772bff8e29225897bf3c20
Author: Colin Watson <cjwatson at debian.org>
Date: 2019-10-12 (Sat, 12 Oct 2019)
Changed paths:
M src/zope/testrunner/tests/testrunner-subunit-v2.rst
M src/zope/testrunner/tests/testrunner-subunit.rst
Log Message:
-----------
Move layer failures to their own doctest section
Commit: acedb194750e7c25bae6ef6f93536ea32556f37e
https://github.com/zopefoundation/zope.testrunner/commit/acedb194750e7c25bae6ef6f93536ea32556f37e
Author: Colin Watson <cjwatson at debian.org>
Date: 2019-10-12 (Sat, 12 Oct 2019)
Changed paths:
M src/zope/testrunner/runner.py
Log Message:
-----------
Simplify explosive error avoidance
We still don't want to mess around with handle_layer_failure on
MemoryError, because it's unlikely to help; but the other two exception
types listed as "explosive errors" were KeyboardInterrupt and
SystemExit, which inherit from BaseException rather than Exception, so
there's no need to catch and re-raise them before catching Exception.
Commit: 609245fae5d951fff3536969fecac208186511c6
https://github.com/zopefoundation/zope.testrunner/commit/609245fae5d951fff3536969fecac208186511c6
Author: Colin Watson <cjwatson at ubuntu.com>
Date: 2019-10-12 (Sat, 12 Oct 2019)
Changed paths:
M CHANGES.rst
M src/zope/testrunner/formatter.py
M src/zope/testrunner/runner.py
M src/zope/testrunner/tests/testrunner-debugging-layer-setup.rst
A src/zope/testrunner/tests/testrunner-ex/brokenlayer.py
M src/zope/testrunner/tests/testrunner-subunit-v2.rst
M src/zope/testrunner/tests/testrunner-subunit.rst
Log Message:
-----------
Merge pull request #71 from cjwatson/layer-failure
Improve output when layer setUp or tearDown fails
Compare: https://github.com/zopefoundation/zope.testrunner/compare/d42a4fa5e6ea...609245fae5d9
More information about the checkins
mailing list