From b58c9cac90816d2348737448b2a1e74a426f8775 Mon Sep 17 00:00:00 2001 From: JosePizarro3 Date: Wed, 5 Jun 2024 16:43:21 +0200 Subject: [PATCH] Added coverage in README --- .gitignore | 1 + README.md | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e744d987..65d09cd0 100644 --- a/.gitignore +++ b/.gitignore @@ -45,6 +45,7 @@ htmlcov/ .cache nosetests.xml coverage.xml +coverage.txt *.cover *.py,cover .hypothesis/ diff --git a/README.md b/README.md index 38f7f528..73f5f245 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,11 @@ python -m pytest -sv where the `-s` and `-v` options toggle the output verbosity. -Our CI/CD pipeline produces a more comprehensive test report using `coverage` and `coveralls` packages. -To emulate this locally, perform: +Our CI/CD pipeline produces a more comprehensive test report using `coverage` and `coveralls` packages. We suggest you to generate your own coverage reports locally by doing: ```sh pip install coverage coveralls -python -m coverage run -m pytest -sv +python -m pytest --cov=src ``` ## Development