[Checkins] [zopefoundation/ZConfig] 03b73b: Make tox -e coverage work

GitHub noreply at github.com
Thu Jul 20 15:36:13 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZConfig
  Commit: 03b73b5a4aee347584f571291d7dd7527b40c940
      https://github.com/zopefoundation/ZConfig/commit/03b73b5a4aee347584f571291d7dd7527b40c940
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M .coveragerc
    M .gitignore
    M tox.ini

  Log Message:
  -----------
  Make tox -e coverage work

Not installing test dependencies such as manuel was causing problems.

I've also tried to fix coverage reporting not to include the entire
Python stdlib, which works fine for `coverage report`, but nose's xcover
plugin still outputs garbage.

I'm not a fan of plugins that stand between me and coverage.py and break
things.


  Commit: 2d556462d2f760f0c76e4fc05052d723f9c3d26f
      https://github.com/zopefoundation/ZConfig/commit/2d556462d2f760f0c76e4fc05052d723f9c3d26f
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M ZConfig/schema2html.py
    M ZConfig/tests/test_schema2html.py

  Log Message:
  -----------
  Ignore sys.argv in tests

Also removes pointless test.  Test coverage for schema2html.py remains
at 100%.

Fixes #34.


  Commit: 408ff4467c0b1e9badf164fd7db21a6bb1063ca0
      https://github.com/zopefoundation/ZConfig/commit/408ff4467c0b1e9badf164fd7db21a6bb1063ca0
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Avoid nose, use coverage run directly

Because the nose-xcover plugin does something that breaks coverage
reporting in a way that makes it output the coverage of the entire
Python standar library in addition to the code we care about.

Also, this way tox.ini and .travis.yml use the same test command, which
is nice.


  Commit: 81589e716fc4042673dd576175005ea338652143
      https://github.com/zopefoundation/ZConfig/commit/81589e716fc4042673dd576175005ea338652143
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-07-19 (Wed, 19 Jul 2017)

  Changed paths:
    M tox.ini

  Log Message:
  -----------
  Remove the workaround for nose now that we don't use nose


  Commit: ad53779cd48f552ac2e661b7c33de65c9d95e0fb
      https://github.com/zopefoundation/ZConfig/commit/ad53779cd48f552ac2e661b7c33de65c9d95e0fb
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

  Changed paths:
    M .coveragerc
    M .gitignore
    M ZConfig/schema2html.py
    M ZConfig/tests/test_schema2html.py
    M tox.ini

  Log Message:
  -----------
  Merge pull request #35 from zopefoundation/fix-tox-coverage

Ignore sys.argv in tests


Compare: https://github.com/zopefoundation/ZConfig/compare/57b06d8fc784...ad53779cd48f


More information about the checkins mailing list