Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Pytest configuration file
addopts = --cov-report xml:cov.xml --cov-report term-missing --cov=mypackagename

This comment has been minimized.

Copy link
Owner Author

commented Apr 4, 2019

Alternatively, pytest.ini should contain:

testpaths = tests/
addopts = --cov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.