In IntelliJ, how do i debug a maven test goal?

前端 未结 6 935
旧时难觅i
旧时难觅i 2020-12-22 17:13

Using intellij and maven pom files, how do i debug tests run inside the maven test goal?

When i run them directly in the code, it complains something about profiles

6条回答
  •  -上瘾入骨i
    2020-12-22 17:23

    -DforkMode=never doesn't work anymore, it is now deprecated in SureFire.

    Use -DforkCount=0 instead when using surefire plugin 2.14+.

提交回复
热议问题