Does anyone know how to configure Maven Surefire plugin with Gradle for unit tests?
Can anyone provide hints or advice? I don’t want to use TestNG and I want to have HTML generated reports from my JUnit results.
Using “pure Maven” , I believe you need to add this entry to your pom.xml file:
<reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.12.4</version> </plugin> </plugins> </reporting>
Then, somehow do an invoke similar to “mvn site” I think???
I am so lost.