File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - name : Get Saxon
2828 run : make init-saxon
2929
30+ - name : Get Allure
31+ run : make install-allure
32+
3033# - name: Start staging infra
3134# run: make start-project-services
3235
Original file line number Diff line number Diff line change @@ -122,3 +122,8 @@ tests/test_data/notice_transformer/mapping_suite_processor_repository/test_packa
122122tests /test_data /notice_transformer /mapping_suite_processor_repository /test_package_fake /transformation /resources /main_activity.json
123123tests /test_data /notice_transformer /mapping_suite_processor_repository /test_package_fake /transformation /resources /nuts.json
124124infra /airflow-cluster /requirements.txt
125+ node_modules
126+ tests /reports /allure /report /
127+ tests /reports /allure /test_results /
128+ package-lock.json
129+ package.json
Original file line number Diff line number Diff line change @@ -367,3 +367,7 @@ restore-mongodb:
367367 @ docker exec -it mongodb-${ENVIRONMENT} rm -rf mongodb_dump
368368 @ echo -e " Finish restore data in mongodb."
369369
370+ install-allure :
371+ @ echo -e " Start install Allure commandline."
372+ @ apt install npm
373+ @ npm install -g allure-commandline
Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ tox~=3.24.5
88tox-pytest-summary~=0.1.2
99mongomock==4.0.0
1010uvicorn[standard]
11+ allure-pytest-bdd==2.10.0
12+
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ commands =
2222
2323[testenv:features]
2424commands =
25- {envpython} -m pytest tests/features
25+ {envpython} -m pytest --alluredir =./tests/reports/allure/test_results/ ./tests/features/
26+ allure generate ./tests/reports/allure/test_results/ --clean -o ./tests/reports/allure/report/
27+
2628
2729[testenv:e2e]
2830commands =
You can’t perform that action at this time.
0 commit comments