From ed0dc3861f77085575fee47568838897d4e03f94 Mon Sep 17 00:00:00 2001 From: Niraj Date: Wed, 14 May 2025 12:19:24 +0545 Subject: [PATCH] feat: update README with Allure report instructions --- tests/govtool-backend/.gitignore | 2 ++ tests/govtool-backend/README.md | 15 +++++++++++++++ 2 files changed, 17 insertions(+) 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