Imagine if the logic in the first half was a bit more cerebral than a simple int comparison — how many test cases would you write before you were satisfied?
设想如果前半部分中的逻辑比简单的int比较更复杂,那么您需要写多少测试案例才能满意?
In test-driven development automated tests should be written in the first place, in comparison to manual tests performed by team members.
在测试驱动开发中,跟团队成员执行的手动测试相比,自动测试的编写应该放在首要位置。
应用推荐