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