Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aleksandr-kotlyar/local-allure-history-trends-bash
Script to generate local allure reports with history trends.
https://github.com/aleksandr-kotlyar/local-allure-history-trends-bash
allure allure-framework allure-history allure-report allure-reports allure2
Last synced: about 2 months ago
JSON representation
Script to generate local allure reports with history trends.
- Host: GitHub
- URL: https://github.com/aleksandr-kotlyar/local-allure-history-trends-bash
- Owner: aleksandr-kotlyar
- License: mit
- Created: 2021-03-31T18:47:44.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T23:45:24.000Z (almost 4 years ago)
- Last Synced: 2024-10-12T18:29:25.019Z (3 months ago)
- Topics: allure, allure-framework, allure-history, allure-report, allure-reports, allure2
- Language: Shell
- Homepage:
- Size: 984 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# local-allure-history-trends-bash
Script to generate local allure reports with history trends.## Usage
`bash allure_generate.sh`Recipe
1. Use allure-framework.
2. Save results into alluredir=`allure-results`.
3. Run the script from current repository `bash allure_generate.sh`.
4. Result: Allure Report will be generated into `/allure` directory with allure-history trends.Run tests. Execute allure_generate.sh. Repeat. You will receive list of allure-reports
```
allure/2021-03-30_Wednesday_23-59-31
allure/2021-04-01_Thursday_00-03-13
allure/2021-04-01_Thursday_00-06-27
```Use `allure open allure` and you will see the reports tree
![](LocalAllureReportsTree.png)
Choose the latest report, or the report you need and open it
![](LocalAllureHistoryTrend.png)
You can jump back through build history trend
![](JumpBackThroughBuildHistorTrendy.png)
## Advanced usage
`bash allure_generate.sh custom-results custom-reports`- `custom-results` - from custom alluredir; `default='allure-results'`
- `custom-reports` - to custom allure root tree directory; `default='allure'`## More
You can add this script execution to teardown after all your tests so you wouldn't need to
execute it
manually.