KarelHusa
3 years agoChampion Level 1
How to set single-page JUnit report format in Groovy script
I want to generate a single-page JUnit report from a Groovy script.
I am able to use JUnitReportEngine and generate a multiple-pages report, which is the default format.
However, I am not able to set SINGLE_PAGE_PRINT_REPORT_FORMAT.
There's no appropriate parameter in constructor, I have also tried to set it up in GeneratableJUnitReport method generate as a jrFormats parameter:
generate(Settings settings, java.lang.String[] jrFormats, java.lang.String folder)
In the SDK (links above) there's no documentation how to do that.
Can you please advise?