When running tests from terminal via 'mvn clean test' command, the generated surefire report in 'target/surefire-reports/' does not have a tests name. i.e:
This messes up our TC reporting.
- Clone my example: Junit5Specs2SurefireTestName
- Run 'mvn clean test'
- Open surefire report
When adding this config:
I get this console output:
Notice the 'null' instead of the class name.
And this output in the report:
The test name is in classname but again, nothing in the name attribute.
- maven-surefire-plugin version 3.0.0-M7
- scala-maven-plugin both version 4.4.0 and 4.7.2
- specs2-junit_2.13 version 4.12.1-junit-5 (uses junit-vintage-engine version 5.3.1, also tried with 5.9.0)
- Scala version 2.13.8
- Build Tool/IDE: Maven