Maven Surefire Plugin: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * http://maven.apache.org/surefire/maven-surefire-report-plugin/ =Internal= * Maven =Procedures= ==Debugging Tests== * Debugging Example: htt...") |
|||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
mvn -Dmaven.surefire.debug="-agentlib:jdwp=transport=dt_socket,server=y,suspend= | mvn -Dmaven.surefire.debug="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" test | ||
</pre> | </pre> | ||
Revision as of 20:57, 8 November 2016
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=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.