]> khamidou — GitHub mirrors - arcanist.git/commit
Add coverage reports to py.test runner
authorDavid Cramer <cramer@dropbox.com>
Wed, 2 Apr 2014 18:31:38 +0000 (11:31 -0700)
committerepriestley <git@epriestley.com>
Wed, 2 Apr 2014 18:31:38 +0000 (11:31 -0700)
commitb8e42614559b2cac30b7b226bbd5430dc2eb540d
tree68b58dced9c7f9b8081a6149f21fb090aed3e7cf
parent11e2c1688fef4a569ab45e9eb41156bf30bedf73
Add coverage reports to py.test runner

Summary: Of note this now forces the pytest-cov plugin to be installed unless they turn it off.

Test Plan:
```
../arcanist/bin/arc unit

COVERAGE REPORT
     97%     changes/models/test.py
    100%     tests/changes/api/serializer/models/test_testcase.py
    100%     changes/api/serializer/models/testcase.py
 UNIT OKAY  No unit test failures.
Updated an existing Differential revision:
        Revision URI: https://tails.corp.dropbox.com/D43387

Included changes:
  M       changes/api/serializer/models/testcase.py
  M       changes/models/test.py
  M       tests/changes/api/serializer/models/test_testcase.py
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D8667
src/unit/engine/PytestTestEngine.php