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.
我正在执行 ant build,我们可以在构建创建的同时自动化单元测试用例吗?
您必须在您的 ant 脚本中定义一个 JUnit 任务。
<junit> <test name="my.test.TestCase"/> </junit>
有关文档,请参阅JUnit 任务。