Skip to content

Commit 9b62466

Browse files
[client] Update dependency pytest-cov to v6
Co-authored-by: Romuald Lemesle <[email protected]>
1 parent 14e17f7 commit 9b62466

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,16 @@ The standard `unittest` library is used for running the tests.
6868
$ python -m unittest
6969
```
7070

71+
## Code Coverage
72+
73+
To run the tests and generate a code coverage report:
74+
75+
```bash
76+
pytest --cov=. tests/
77+
```
78+
7179
## About
7280

7381
OpenBAS is a product designed and developed by the company [Filigran](https://filigran.io).
7482

75-
<a href="https://filigran.io" alt="Filigran"><img src="https://github.com/OpenBAS-Platform/openbas/raw/master/.github/img/logo_filigran.png" width="300" /></a>
83+
<a href="https://filigran.io" alt="Filigran"><img src="https://github.com/OpenBAS-Platform/openbas/raw/master/.github/img/logo_filigran.png" width="300" /></a>

test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ isort>=5.10
55
pre-commit~=4.1
66
pytest~=8.1
77
pytest-cases~=3.6
8-
pytest-cov~=4.1
8+
pytest-cov~=6.1
99
pytest_randomly~=3.8
1010
types-python-dateutil>=2.8
1111
types-pytz>=2021.3.5

0 commit comments

Comments
 (0)