Of note this now forces the pytest-cov plugin to be installed unless they turn it off.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCb8e42614559b: Add coverage reports to py.test runner
../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
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- pytest-cover
- Lint
Lint Passed - Unit
Tests Passed
Event Timeline
Comment Actions
See also IRC. If there's no way to do anything but coverage.xml, this is fine. You shouldn't need to unlink the temp file.
src/unit/engine/PytestTestEngine.php | ||
---|---|---|
15 | Why are we putting this at the project root? That seems really messy/gross? Can we just use a temp file like $junit_tmp? | |
17–18 | Use Filesystem::remove($file). But this should not be necessary with the above change. |