testable-mock icon indicating copy to clipboard operation
testable-mock copied to clipboard

运行了Java-Demo, 使用testable-maven-plugin直接报错。

Open xg86 opened this issue 4 years ago • 1 comments

请问那位大佬可以指导一下。

xg86 avatar May 10 '21 12:05 xg86

Java-Demo的pom.xml文件默认应该没有启用testable-maven-plugin,如果要启用的话,需要同时去掉maven-surefire-plugin<argLine>...</argLine>配置,这两种二选一即可。

目前的主流IDE对maven-surefire-plugin插件的支持比较好,如果需要在IDE中运行单元测试,还是推荐用maven-surefire-plugin配置的方式。

linfan avatar May 11 '21 04:05 linfan