Maven Surefire Plugin
Jump to navigation
Jump to search
External
Internal
Procedures
Debugging Tests
- Debugging Example: http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html]
mvn -Dmaven.surefire.debug="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5012" test
Running Individual Tests
- Single Test Example: http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html
mvn -Dtest=TestCircle test
Works for both JUnit and TestNG.