Questions tagged [maven-surefire-plugin]

The Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application. It is commonly used in continuous integration.

Maven Surefire Plugin is used during the test phase of the build lifecycle to execute the unit tests of an application.

It runs unit tests of a maven project and produces reports in text, XML and HTML format. By default, it will fail the build if the unit tests fail. It supports multiple unit test frameworks, notably JUnit and TestNG.

Its only goal is the test goal. Check its official usage page for a first sample.

1351 questions
-4
votes
1 answer

duplicateStepDefinition error for cucumber tests when run through maven

when trying to run my tests through 'maven install' below is the error, when i delete my target folder it is working fine. This typically happens when you configure cucumber to look for features in the root of your project. Your build tool…
1 2 3
90
91