Skip to content

Commit

Permalink
Upd: Setup Allure
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Jan 9, 2024
1 parent dd6d372 commit 3b30c5a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
api-backup.json
api-dev-tests.json
temp/
env
env
allure-report/
allure-results/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ build-test: ## Build behave image
docker build --platform=linux/amd64 -t igrantio/bb-consent-test-runner:dev -f Dockerfile .

run-test: ## Run BDD test
docker run --network=test_custom_network igrantio/bb-consent-test-runner:dev
docker run --network=test_custom_network -v ./allure-results:/tests/allure-results -v ./allure-report:/tests/allure-report igrantio/bb-consent-test-runner:dev

setup-dev: ## Setup api, admin and privacy dashboard for development branch tests
sudo rm -rf temp && \
Expand Down
2 changes: 2 additions & 0 deletions behave.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[behave]
paths = features/
format=allure_behave.formatter:AllureFormatter
outfiles=allure-results

[behave.userdata]
base_url = http://caddy:80
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
behave
requests
requests
allure-behave

0 comments on commit 3b30c5a

Please sign in to comment.