这些任务可以在记录测试完成之后执行,然而通常一边记录一边执行会更加方便和有效。
These tasks can be performed after recording the test as well but it is often more convenient and efficient to perform them while recording.
JUnit一直是一个单元测试框架,也就是说,其构建目的是促进单个对象的测试,它确实能够极其有效地完成此类任务。
JUnit has always been a unit-testing framework, meaning that it was built to facilitate testing single objects, and it does so quite effectively.
这个测试之所以有效,是因为计算机无法完成;而计算机不能完成的任务正在变的越来越少。
They work only because there are things computers can't do, and there are fewer and fewer of those things all the time.
应用推荐