Stefano Maglione
Stefano Maglione

Reputation: 4160

Maven test result in IntelliJ

I run maven goal test with IntelliJ and I get back a :

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project, there are test failures.

Where I can see what test failed?

Upvotes: 0

Views: 1274

Answers (3)

Oussama BEN MAHMOUD
Oussama BEN MAHMOUD

Reputation: 1472

That's ok in latest IntelliJ versions to see the failed tests in the intellij run panel see the following screenshots:

enter image description here

enter image description here

To see even better details on your successful / failed steps click on the eye icon on the left of the panel and shoose "show successful steps".

I hope this helps!

Upvotes: 1

Motivated Mind
Motivated Mind

Reputation: 108

Check under {project.dir}/target/surefire-reports

Upvotes: 0

Eugene Makarenko
Eugene Makarenko

Reputation: 96

I think in the build folder there might be a surefire report file

Upvotes: 0

Related Questions