Posts Tagged debug tests

How to debug tests with maven

Sometimes you need to debug the tests exactly as Maven ran them. Here’s how! Forked Tests By default, Maven runs your tests in a separate (“forked”) process. You can use the maven.surefire.debug property to debug your forked tests remotely, like this:

,

No Comments