Skip to content

v3.1.1 — Per-Engine Report Output Directory

Choose a tag to compare

@shossain786 shossain786 released this 26 Jun 00:47
· 94 commits to master since this release

Fix: the metrics JSON, HTML report, and metrics history now honor the seleniumboot.reports.dir system property (default target/).

When a TestNG suite (Surefire) and JUnit 5 tests (Failsafe) run in one build, both wrote the report to target/ — so the second engine silently overwrote the first, and the published report showed only the last engine's tests (e.g. 11 JUnit 5 instead of the full suite).

Point each engine's run at its own directory and each gets a self-contained report:

<!-- in the JUnit 5 (Failsafe) execution -->
<systemPropertyVariables>
  <seleniumboot.reports.dir>target/junit5</seleniumboot.reports.dir>
</systemPropertyVariables>
  • New com.seleniumboot.reporting.ReportPaths helper centralizes path resolution
  • Wired through ExecutionMetrics, HtmlReportGenerator, ReportAdapterRegistry, FlakinessAnalyzer

See CHANGELOG.md for details.