diff --git a/tests/govtool-backend/.gitignore b/tests/govtool-backend/.gitignore index ee3cf2608..86f750ef6 100644 --- a/tests/govtool-backend/.gitignore +++ b/tests/govtool-backend/.gitignore @@ -36,3 +36,5 @@ Thumbs.db # Other *.bak reports/ + +allure-results/ \ No newline at end of file diff --git a/tests/govtool-backend/README.md b/tests/govtool-backend/README.md index fd8068f33..ce3f16c5f 100644 --- a/tests/govtool-backend/README.md +++ b/tests/govtool-backend/README.md @@ -38,3 +38,18 @@ export METRICS_URL="url" # metrics server Url export METRICS_API_SECRET="metrics-api-secret" pytest -v ``` + +## Allure Report +Generate and view test reports using Allure. + +### Run Tests with Allure +Execute tests and save results to the `allure-results` directory: +```bash +python -m pytest --alluredir allure-results +``` + +### View Allure Dashboard +Launch the Allure dashboard to view the test report: +```bash +allure serve allure-results +``` \ No newline at end of file