3

We're using TestNG+Allure reports for our java testing infrastructure. The test might take up to 4 hours to run. We want to see the reports of tests that are already done in the suite.

Can I see a report in between? How can one implement it?

I'm using Jenkins but I believe the solution might be different (since Jenkins supports publishing the reports only as a post-build action).

Krishnan Mahadevan
  • 14,121
  • 6
  • 34
  • 66
iTayb
  • 12,373
  • 24
  • 81
  • 135

1 Answers1

0

Use this command:

allure serve /home/path/to/project/target/surefire-reports/

Based on Allure document: it generates a report in temporary folder from the data found in the provided path and then creates a local Jetty server instance, serves generated report and opens it in the default browser.

Bö macht Blau
  • 12,820
  • 5
  • 40
  • 61
Carly
  • 1
  • 1