例如,在蚂蚁中,我会使用类似的东西
文件集 dir="src/tests" 包括="${test.includes}" excludes="${test.excludes}"/>
在junit任务中。Intellij 的 Run Configurations 中有一个 Test Runner Parameters 字段,但我似乎无法找到如何传递此类信息。
基本用例:我有必须扩展 TestCase 的抽象测试,但正在由 intellij 的测试运行程序运行(并且失败并显示“未找到测试......”)。
如果有人知道该怎么做..会很好:)