[Darshan-commits] [Git][darshan/darshan][master] 2 commits: TST: allow pytest coverage collection

Shane Snyder xgitlab at cels.anl.gov
Thu Apr 15 17:43:55 CDT 2021



Shane Snyder pushed to branch master at darshan / darshan


Commits:
20f9503b by Tyler Reddy at 2021-04-15T15:09:01-06:00
TST: allow pytest coverage collection

* add `tests/__init__.py` file to allow `pytest-cov` to collect
test line coverage data via i.e.,
`pytest --cov-report=term-missing --cov=darshan tests/`

* on `master`, this currently fails to collect the coverage
data with this warning:
`coverage.py warning: No data was collected. (no-data-collected)`

* on this feature branch a complete coverage report is produced

- - - - -
141e2fa6 by Shane Snyder at 2021-04-15T17:43:52-05:00
Merge branch 'treddy_allow_pytest_cov_collection' into 'master'

TST: allow pytest coverage collection

See merge request darshan/darshan!96
- - - - -


1 changed file:

- + darshan-util/pydarshan/tests/__init__.py


Changes:

=====================================
darshan-util/pydarshan/tests/__init__.py
=====================================



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/65ff2d3fff905d8b2022b98d2433b3448bfbdaf7...141e2fa6a11285eb19e1fc91d38cfd756090f8a6

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/65ff2d3fff905d8b2022b98d2433b3448bfbdaf7...141e2fa6a11285eb19e1fc91d38cfd756090f8a6
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20210415/5be68980/attachment-0001.html>


More information about the Darshan-commits mailing list