0

在万无一失的情况下,如果我在“测试”属性中命名一个与“排除”配置中的模式重叠的测试,它会被执行吗?

http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html

http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html

4

1 回答 1

0

是的。通过反复试验,我认为我已经证明“测试”属性确实优先。

但是,如果包含列表和排除列表都在 config 中定义并且它们重叠,则排除列表将优先。

于 2010-12-09T16:51:50.907 回答