Report Path

Use to change path of a produced self-contained rich HTML report CLI webtau scenarios/*.groovy --reportPath my-report-name.html Maven <plugin> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>test</phase> <goals> <goal>run</goal> </goals> </execution> </executions> <configuration> <workingDir>${project.basedir}/src/main/groovy</workingDir> <reportPath>my-report-name.html</reportPath> <tests> <directory>${project.basedir}/src/main/groovy</directory> <includes> <include>scenarios/*.groovy</include> </includes> </tests> </configuration> </plugin>

Failed Report Path

Use to use different path for failed cases. CLI webtau scenarios/*.groovy --failedReportPath my-failed-report-name.html Maven <plugin> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>test</phase> <goals> <goal>run</goal> </goals> </execution> </executions> <configuration> <workingDir>${project.basedir}/src/main/groovy</workingDir> <failedReportPath>my-failed-report-name.html</failedReportPath> <tests> <directory>${project.basedir}/src/main/groovy</directory> <includes> <include>scenarios/*.groovy</include> </includes> </tests> </configuration> </plugin> One of the use-cases is to configure CI upload only failed test reports, especially if you run multiple independent test suits yaml - name: Upload failed test reports uses: actions/upload-artifact@v2 if: failure() with: name: failed suits path: "testing/src/test/groovy/*failed*.html" retention-days: 2

Report Name And URL

Use and to change default report name.By default, when you click a report name, browser opens https://github.com/testingisdocumenting/webtau WebTau.Specify to override a page that opens when you click a report name. CLI webtau scenarios/*.groovy --reportName "my service" --reportNameUrl "https://service-under-test" Maven <plugin> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-maven-plugin</artifactId> <version>2.4</version> <executions> <execution> <phase>test</phase> <goals> <goal>run</goal> </goals> </execution> </executions> <configuration> <workingDir>${project.basedir}/src/main/groovy</workingDir> <reportName>my service</reportName> <reportNameUrl>https://service-under-test</reportNameUrl> <tests> <directory>${project.basedir}/src/main/groovy</directory> <includes> <include>scenarios/*.groovy</include> </includes> </tests> </configuration> </plugin>