Mangesh
Mangesh

Reputation: 21

What is the difference between maven surefire report plugin and maven surefire plugin

What is the difference between maven surefire report plugin and maven surefire plugin and when they will be used

Upvotes: 2

Views: 1712

Answers (2)

  • maven-surefire-plugin is designed for running unit tests and if any of the tests fail then it will fail the build immediately.

  • maven-surefire-report-plugin uses the generated *.xml files under /target/surefire-reports and creates web view of surefire test.

Upvotes: 3

J Fabian Meier
J Fabian Meier

Reputation: 35853

The surefire plugin is used to run unit tests, while the surefire report plugin can be used to write a test report for the maven site.

Upvotes: 0

Related Questions