From bc036368cff8023b9ca249376e7bfffa34f750af Mon Sep 17 00:00:00 2001 From: Tim Hobson Date: Tue, 29 Oct 2024 11:43:56 +0000 Subject: [PATCH] Update docs with command to run all tests --- docs/source/getting-started/installation.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/source/getting-started/installation.rst b/docs/source/getting-started/installation.rst index 8a5bdac5..290a5185 100644 --- a/docs/source/getting-started/installation.rst +++ b/docs/source/getting-started/installation.rst @@ -113,12 +113,19 @@ To add a package: $ poetry add [package name] -To run the Python tests: +To run the Python unit tests: .. code-block:: bash $ poetry run pytest +To run unit and integration tests, some of which depend on the `T-Res resources <../getting-started/resources.html>`_: + +.. code-block:: bash + + $ poetry run pytest tests --no-skip + + If you want to use Jupyter notebook, run it as usual, and then select the created kernel in "Kernel" > "Change kernel".