Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的项目中有两种测试。其中一个以“Test”结尾,另一个以“IT”结尾。 我怎么能告诉艾玛它应该考虑所有的测试课程?
凯瑟
我自己没有尝试过,但是 maven emma 插件属性链接引用了以下属性:
maven.emma.filter.includes指定模式列表,用空格和/或逗号分隔。示例:com.foo.*。
maven.emma.filter.includes
您可以尝试**Test **IT通过 Maven 命令行-Dmaven.emma.filter.includes="**Test **IT"(
**Test **IT
-Dmaven.emma.filter.includes="**Test **IT"