Maven Surefire Plugin: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* [[Maven#Plugin|Maven]] | * [[Maven#Plugin|Maven]] | ||
=Configuration Example= | |||
=Procedures= | =Procedures= |
Revision as of 16:14, 11 January 2017
External
Internal
Configuration Example
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=n,address=5005" 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.