diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000000000000000000000000000000000000..1dc4f3d8c8d375ba3f7b352aa3e18702ec731d83 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[html] +show_contexts = True diff --git a/CHANGELOG.md b/CHANGELOG.md index 61c4d9c44b5819b7848a439cee8f075c5ea956e2..3662e200959ba5604ee4fdf25962d4f39eaa6114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Documentation ### +* Test coverage reports are now generated in `.tox/cov_html/` by tox. + ## [0.8.0] - 2023-05-30 ## (Florian Spreckelsen) diff --git a/tox.ini b/tox.ini index 0e9664c377366923b60e11d138825e1543cc8c7f..00548dea25c5017f1d0301a00a629c62d16631ef 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps=nose openpyxl >= 3.0.7 xlrd == 1.2 h5py -commands=py.test --cov=caosadvancedtools -vv {posargs} +commands=py.test --cov=caosadvancedtools --cov-report=html:.tox/cov_html -vv {posargs} [flake8] max-line-length=100