Ratha's Ground!
Tuesday, November 11, 2014
Debugging tests in maven project
If we use 'maven' as build tool for java projects, to run test cases we might use Surefire plugin. Plugin can be added in pom.xml like
To debug testcases; run
#
mvn -Dmaven.surefire.debug test
Which will make the debugger to run port
5005
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment