尤其值得一提的是,测试先行的开发(test first development),或者至少是严格的单元测试,其价值在在很多项目中得到了证实。而EJB使得有效的单元测试非常困难,因为EJB严重依赖容器的服务。
基于20个网页-相关网页
在测试先行的开发策略中,您可能更愿意在进行任何代码修复之前编写单元测试。
You may prefer to write the unit test before making any code fixes in a test-first development strategy.
单元测试、测试先行的编程和测试驱动的开发并非都要在JUnit中实现,任何比较GUI的编程都必须用Swing来完成。
Unit testing, test-first programming, and test-driven development do not have to be implemented in JUnit, any more than GUI programming must be done with Swing.
尤其是其中的“测试先行”,以不断的测试推动代码的开发,从而达到既简化代码,又保证质量的目标。
It especially highlights the test first policy-uninterrupted test propels code exploitation, thus achieves the goal of code simplicity and at the same time quality assurance.
应用推荐