Output failed test details to stdout using maven surefire
I find there's way too much output produced on stdout
to be useful. Try leaving the HTML report open in your browser. After running your tests just refresh the page. Have a look at target/surefire-reports/index.html
.
To output test results to stdout
rather than a file use the following command:
mvn test -Dsurefire.useFile=false
Or to configure in your pom.xml
add the following to your plugins
section.
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
<configuration>
<useFile>false</useFile>
</configuration>
</plugin>