https://github.com/andgineer/docker-allure
Allure 2 docker
https://github.com/andgineer/docker-allure
allure allure-report docker
Last synced: 5 months ago
JSON representation
Allure 2 docker
- Host: GitHub
- URL: https://github.com/andgineer/docker-allure
- Owner: andgineer
- Created: 2017-05-31T11:45:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-12-31T12:00:01.000Z (7 months ago)
- Last Synced: 2026-01-01T01:31:53.488Z (7 months ago)
- Topics: allure, allure-report, docker
- Language: Python
- Homepage:
- Size: 26.1 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
[](https://hub.docker.com/r/andgineer/allure)
[Docker container](https://hub.docker.com/r/andgineer/allure) for generating Yandex Allure test report
## About
[Yandex Allure](https://github.com/allure-framework/allure2/releases) generates visually appealing and easily navigable test reports.
For usage examples, see this [my blog](https://sorokin.engineer/posts/en/pytest_allure_selenium_auto_screenshot.html)
## Usage
### Generate Test Results
Save test results to `./allure-results`:
pip install allure-pytest
pytest --alluredir=./allure-results
### Generate and View Reports
Generate report in ./allure-report from results in ./allure-results:
docker run --rm -it \
-v ${PWD}/allure-results:/allure-results \
-v ${PWD}/allure-report:/allure-report \
andgineer/allure \
allure generate /allure-results -o /allure-report --clean
Serve report on `localhost:8800`:
docker run --rm -it \
-v ${PWD}/allure-results:/allure-results \
-v ${PWD}/allure-report:/allu-report \
-p 8800:80 \
andgineer/allure \
allure serve -p 80 /allure-results
> Docker requires absolute paths, hence ${PWD} is used to reference the current working directory.
Sample test results are included in the ./allure-results folder. Use the command above to view the report at localhost:8800.
## Allure Framework Releases
[allure-framework](https://github.com/allure-framework/allure2/releases)