Info - https://codefresh.io/docs/docs/testing/test-reports/
allure-testng v2.17.2
aspectjweaver v1.9.6
I currently have test reports being generated within our builds on CodeFresh after following the above document. These are currently being generated as expected, however the trend / history is not appearing within the reports. It is important that we see this information within the report so we get a historical view of the status of the running tests.
Within our test framework we are using the following dependancy to generate our Allure reports (https://docs.qameta.io/allure/#_testng)
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-testng</artifactId>
<version>2.17.2</version>
</dependency>
Then within our pipeline .yml file we are using the codefresh/cf-docker-test-reporting
image and step to create the Allure test reports.
generate_report:
stage: generate_report
title: Generate test reporting
image: codefresh/cf-docker-test-reporting
working_directory: '${{CF_VOLUME_PATH}}/'
environment:
- BUCKET_NAME=our-bucket-name
- CF_STORAGE_INTEGRATION=our-integration-name
Report (This is after running multiple builds)
Errors
The only indication as this why this might not be working is this error message which is printed out as part of the generate_report
stage within Codefresh.
Start add allure history to test results
Error during adding allure history to test report, cause: Access Denied <-
Report successfully generated to allure-report
Report generation is finished successfully