idea2020会有一个小bug,在idea的Settings设置中进行下面配置:
然后在maven项目下的pom.xml中加入如下代码:
<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>2.4.2</version><configuration><skipTests>true</skipTests></configuration>
</plugin>