这样做可以确保在单元测试运行之前,使用新的run - groovyc目标编译groovy脚本。
Doing so ensures the groovy scripts will be compiled with the new run-groovyc goal before any unit tests are run.
在编写代码前编写测试这种作法意味着,在测试运行并失败之前,不会做工作中真正有趣的部分。
Writing a test before the code means you don't get to do the fun part of the job until the test runs and fails.
在查看失败报告之前,您是否注意到单元测试运行速度很快,而在运行集成测试时会有明显的延迟?
Before you view the failing report, did you notice how quickly the unit tests ran, as well as the noticeable delay in running the integration tests?
应用推荐