在测试先行的开发策略中,您可能更愿意在进行任何代码修复之前编写单元测试。
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.
开发eJB应用而测试先行,需要做很多繁重的工作,本质上说,就是使应用对EJB容器的依赖最小化。
Developing EJB applications test first requires a lot of fancy footwork; essentially, minimization of the dependence of application code on the EJB container.
开发eJB应用而测试先行,需要做很多繁重的工作,本质上说,就是使应用对EJB容器的依赖最小化。
Developing EJB applications test first requires a lot of fancy footwork; essentially, minimization of the dependence of application code on the EJB container.
应用推荐