Maven: 通过命令行忽略指定Unit test (maven-surefire-plugin exclude specific unit test by command line)
maven-surefire-plugin 是在 maven 生命周期中,test 阶段的内置插件,用来专门做 exclude 用的。相信大家都很清楚 maven-surefire-plugin 在 pom.xml 里面配置的用法,通过配置来 exclude、include 指定的 unit test(支持通配符 * )。简单展示:<project> [...] <build> <plugins> <plugin>
原创
2021-01-12 22:37:31 ·
943 阅读 ·
1 评论