- Create a virtual env
python -m venv venv
- Activate the virtual env
source ./venv/bin/activate
- Install local dependencies
pip install -r requirements.txt
- Make package "editable"
pip install -e .
- Run tests to test code
pytest
- Run coverage to check complete test coverage
coverage run -m pytest
- Run coverage command to generate HTML output
pytest --cov demo --cov-report html
-
Notifications
You must be signed in to change notification settings - Fork 0
ajgribble/code-coverage-demo
Folders and files
Name | Name | Last commit message | ||
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published