Top "Maven-surefire-plugin" questions

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

Run a specific test in a single test class with Spock and Maven

I am using Spock framework for testing (1.0-groovy-2.4 release). Junit offers this option to run a specific test using the …

maven testing groovy spock maven-surefire-plugin
How to permanently exclude one test class in a Maven build

I'm trying to exclude a single test from my maven build (I don't want the test to be compiled or …

maven maven-surefire-plugin maven-compiler-plugin
How can I stop maven from running TEST twice?

I have a big project with around 5000 test cases. When running mvn clean install it will run the test goal …

java maven unit-testing maven-surefire-plugin
Surefire JUnit Testing using Native Libraries

We are using Maven in Hudson to run our Java build process and the Surefire plugin to execute JUnit tests …

maven maven-surefire-plugin
How to configure maven surefire to use an jvm agent that is a dependency?

I would like to configure the maven sure fire plugin to start the unit testing jvm with the argument for …

maven maven-3 maven-surefire-plugin
How to us Maven PDF Plugin to generate PDF from Surefire Report?

after running my JUnit tests I use the Maven Surefire Report plugin (http://maven.apache.org/plugins/maven-surefire-report-plugin/) to generate …

pdf report maven-surefire-plugin maven-site-plugin maven-pdf-plugin
Running code before and after all tests in a surefire execution

I have a Grizzly HttpServer that I want to run for the entire duration of a test group execution. Additionally, …

java junit maven-surefire-plugin grizzly
How to change maven's Remote Repository URL in the NetBeans IDE (from http to https)?

When trying to run a NetBeans project, I get the following error message: Failed to execute goal org.apache.maven.…

maven netbeans maven-surefire-plugin remote-repository
Skip single test with maven with command line options

I would like to skip a single test (e.g. com.example.MyTest) when building a project with Maven from …

java maven maven-surefire-plugin