If you have test cases that will catch likely errors, you'll find that you're more willing to make improvements to your code.
在使用测试用例捕获可能的错误时,您会发现自己非常愿意对代码进行改进。
2
Unfortunately, a unit test does not catch this type of bug.
不幸的是,单元测试不能捕捉这种bug。
3
When we reran the GUI test by playing back the script, Robot would catch this problem, and the resulting TestManager report (Figure 9) would show that the test had failed.