Why should failsafe forkCount not be zero?

Viewed 234

I've set forkCount to zero in my maven-failsafe-plugin configuration so that I can easily use mvnDebug and set breakpoints in my tests while debugging.

This results in the warning: The parameter forkCount should likely not be 0, not forking a JVM for tests reduce test accuracy, ensure to have a <forkCount> >= 1.

Why is that? What effect on accuracy does not forking have?

0 Answers
Related