From 9c2732d6d9949895f29f0008f287c60fa7576d99 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 29 Nov 2023 11:46:01 +0100 Subject: [PATCH] docs: add testing instructions to contrib guide --- .github/CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 99570131..429d2955 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -86,6 +86,18 @@ Use pytest to run the unit checks and generate coverage reports: make test ``` +To test just one of the modules: + +``` +pytest tests/test_.py +``` + +To test just one function: + +``` +pytest tests/test_.py:: +``` + # Formatting Use the Makefile commands to locally format and check the code with `ruff` and