Skip to content

Commit 31fe2bd

Browse files
local coverage added in user manual
1 parent 973aa4e commit 31fe2bd

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,14 @@ Then, you can run the tests:
195195
python -B -m pytest -p no:cacheprovider
196196
```
197197

198+
How to Check Coverage Locally
199+
200+
To see the coverage percentage on your local machine, run this command instead:
201+
202+
```powershell
203+
python -B -m pytest --cov=pica --cov-report=term-missing -p no:cacheprovider
204+
```
205+
198206
---
199207

200208
## Project History

docs/User_Manual.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ If you plan to contribute to PICA or run the test suite, you will need to instal
132132
pip install -r requirements-dev.txt
133133
```
134134

135+
How to Check Coverage Locally
136+
137+
To see the coverage percentage on your local machine, run this command instead:
138+
139+
```powershell
140+
python -B -m pytest --cov=pica --cov-report=term-missing -p no:cacheprovider
141+
```
142+
135143
## 4. Safety Precautions
136144

137145
> [!WARNING]

0 commit comments

Comments
 (0)