From 697da2b4f892dce7ac88a1e3e75f95977cba50b2 Mon Sep 17 00:00:00 2001 From: Jan Romaniak Date: Fri, 4 Oct 2024 09:04:15 +0200 Subject: [PATCH] changed test dir inside docker --- docs/guide-dev/tests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide-dev/tests.md b/docs/guide-dev/tests.md index 3fbe506..0763384 100644 --- a/docs/guide-dev/tests.md +++ b/docs/guide-dev/tests.md @@ -9,7 +9,7 @@ ensuring that the user interface and web interactions function as expected. Unit tests are executed within a Docker container using the pytest framework. This ensures a consistent testing environment, isolated from local machine configurations. - docker compose run --rm backend pytest -n auto --reruns 3 -rP -p no:warnings --cov-report= --capture=sys /tests/unit + docker compose run --rm backend pytest -n auto --reruns 3 -rP -p no:warnings --cov-report= --capture=sys ./tests/unit ## Run "Selenium" functional test @@ -54,6 +54,6 @@ This will require some more steps to be taken before running the tests. 1. `pdm sync --no-editable --no-self --no-isolation` 1. Run the tests 1. `source ./development_tools/local_selenium_init.sh` - 1. `python -m pytest -svvv tests/selenium --html-report=./report/report.html` + 1. `python -m pytest -svvv ./tests/selenium --html-report=./report/report.html`