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.
我想为我的构建添加一些提示,以“首先”运行某些测试,而无需稍后重新运行它们。
只需将类名称添加到我的测试任务的输入参数中的“优先级”字符串中,或者
让 JUnit 的测试人员足够聪明地记住/保留失败的测试类名称,以便下次构建器首先运行这些名称。
在 Ant 中这样做最惯用的方法是什么?
The following tools might help you to achieve the desired JUnit test execution order, but they depend on Eclipse usage:
I have not used any of those tools, and I have no Ant-only solution.
You might consider these related posts: