预防针 » Vaccination 代码测试失败 » Code fails test 地球的每一个角落,几乎都有植物生存着 » Every corner of the Earth, almost all plants live ..
基于1个网页-相关网页
The test fails because you have not yet built the code for that part of your system.
由于尚没有为系统中的相应部分构建代码,测试失败。
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.
在编写代码前编写测试这种作法意味着,在测试运行并失败之前,不会做工作中真正有趣的部分。
The first is that when a small unit test fails, you know exactly which criteria your code doesn't meet.
第一是当一个小的单元测试失败时,你可以准确地知道你的代码不满足哪个条件。
应用推荐