Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pytest configuration file
[pytest]
addopts = --cov-report xml:cov.xml --cov-report term-missing --cov=mypackagename
@GenevieveBuckley

This comment has been minimized.

Copy link
Owner Author

commented Apr 4, 2019

Alternatively, pytest.ini should contain:

[pytest]
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.