[Checkins] [zopefoundation/zope.testrunner] 833aea: Add option to check for duplicate test IDs
GitHub
noreply at github.com
Sat Jan 6 17:43:17 CET 2018
Branch: refs/heads/master
Home: https://github.com/zopefoundation/zope.testrunner
Commit: 833aead2a6a37bc49766ea0688de1edf8a1167d8
https://github.com/zopefoundation/zope.testrunner/commit/833aead2a6a37bc49766ea0688de1edf8a1167d8
Author: Colin Watson <cjwatson at debian.org>
Date: 2018-01-06 (Sat, 06 Jan 2018)
Changed paths:
M CHANGES.rst
M src/zope/testrunner/find.py
M src/zope/testrunner/options.py
A src/zope/testrunner/tests/test_find.py
Log Message:
-----------
Add option to check for duplicate test IDs
Add a --require-unique flag to the testrunner. When passed, this flag
causes the testrunner to check every test ID it loads to see if it's
seen it before. If it has, it raises an error and exits.
This was originally by Graham Binns in
https://code.launchpad.net/~gmb/zope.testing/check-for-unique-tests/+merge/110262,
in response to https://bugs.launchpad.net/launchpad/+bug/682771, but
doesn't appear to have been sent upstream. I ported it across to
zope.testrunner and generally brought it up to date.
Commit: 3f2d7865d5ab82a0d4fe8a8739a5c34236c0f6bd
https://github.com/zopefoundation/zope.testrunner/commit/3f2d7865d5ab82a0d4fe8a8739a5c34236c0f6bd
Author: Colin Watson <cjwatson at debian.org>
Date: 2018-01-06 (Sat, 06 Jan 2018)
Changed paths:
M src/zope/testrunner/find.py
M src/zope/testrunner/tests/test_find.py
Log Message:
-----------
Use str(test) rather than test.id()
Commit: 53cfcfe6c6d24cded4aa1335625f81d2581fd761
https://github.com/zopefoundation/zope.testrunner/commit/53cfcfe6c6d24cded4aa1335625f81d2581fd761
Author: Colin Watson <cjwatson at debian.org>
Date: 2018-01-06 (Sat, 06 Jan 2018)
Changed paths:
M src/zope/testrunner/tests/test_find.py
Log Message:
-----------
Fix test on Windows
Commit: a2899c4197b6917b187f9bce2093afed36138608
https://github.com/zopefoundation/zope.testrunner/commit/a2899c4197b6917b187f9bce2093afed36138608
Author: Colin Watson <cjwatson at ubuntu.com>
Date: 2018-01-06 (Sat, 06 Jan 2018)
Changed paths:
M CHANGES.rst
M src/zope/testrunner/find.py
M src/zope/testrunner/options.py
A src/zope/testrunner/tests/test_find.py
Log Message:
-----------
Merge pull request #67 from cjwatson/require-unique
Add option to check for duplicate test IDs
Compare: https://github.com/zopefoundation/zope.testrunner/compare/dae4678c264c...a2899c4197b6
More information about the checkins
mailing list