Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1057040

Browse files
authored
pytest doesn't provide --cov by default
Update the docs to explain how to use
1 parent 0c9523b commit 1057040

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ coverage run tests.py
3434
```
3535
#### pytest
3636
```
37+
pip install pytest-cov
3738
pytest --cov=./
3839
```
3940
#### nosetests
@@ -75,4 +76,4 @@ Cobertura reports can expire - Codecov will reject reports that are older than 1
7576

7677

7778
## License
78-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large)
79+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-python?ref=badge_large)

0 commit comments

Comments
 (0)