[Checkins] [zopefoundation/zope.interface] 7544c9: Test sanity cleanups

GitHub noreply at github.com
Thu Jun 8 22:42:48 CEST 2017


  Branch: refs/heads/test-cleanup
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 7544c96bcef11cb3c49482a3bf0de045baf1ade9
      https://github.com/zopefoundation/zope.interface/commit/7544c96bcef11cb3c49482a3bf0de045baf1ade9
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-06-08 (Thu, 08 Jun 2017)

  Changed paths:
    M .coveragerc
    M .gitignore
    M src/zope/interface/_compat.py
    M src/zope/interface/common/tests/test_idatetime.py
    M src/zope/interface/common/tests/test_import_interfaces.py
    M src/zope/interface/tests/__init__.py
    M src/zope/interface/tests/odd.py
    M src/zope/interface/tests/test_adapter.py
    M src/zope/interface/tests/test_advice.py
    M src/zope/interface/tests/test_declarations.py
    M src/zope/interface/tests/test_document.py
    M src/zope/interface/tests/test_element.py
    M src/zope/interface/tests/test_interface.py
    M src/zope/interface/tests/test_interfaces.py
    M src/zope/interface/tests/test_odd_declarations.py
    M src/zope/interface/tests/test_registry.py
    M src/zope/interface/tests/test_sorting.py
    M src/zope/interface/tests/test_verify.py
    M tox.ini

  Log Message:
  -----------
  Test sanity cleanups

Partially addresses #87

- Remove manual lists of tests in favor of loadTestsFromName. This
  mostly gets all test runners running the same number of tests.
- Remove `additional_tests`, which was just duplicating the discovered
  tests. No modern test runner seems to need it.
- Change the two compatibility skip decorators to actually use
  unitetest skips, which helps with the reporting.




More information about the checkins mailing list