From edeb4308426b55f322291a348c3ccddf0995d24d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0ar=C5=ABnas=20Nejus?= Date: Sun, 8 Sep 2024 03:03:09 +0100 Subject: [PATCH] Fix coverage task docs --- CONTRIBUTING.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 911090f17..0185049f7 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -344,10 +344,10 @@ environment variable ``SKIP_SLOW_TESTS``, for example:: Coverage ^^^^^^^^ -Coverage is measured automatically when running the tests. If you find it takes -a while to calculate, disable it:: +The ``test`` command does not include coverage as it slows down testing. In +order to measure it, use the ``test-with-coverage`` task - $ poe test --no-cov + $ poe test-with-coverage [pytest options] You are welcome to explore coverage by opening the HTML report in ``.reports/html/index.html``.