http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html
- When surefire plugin version < 2.14: use
-DforkMode=never - When surefire plugin version >= 2.14: use
-DforkCount=0
In IDEA, open your run/debug configuration, in Runner tab, add fork options -DforkCount=0
