Add a simple unit validator method.
添加一个简单的单元确认器方法。
In Part 1, you implemented a simple unit test and a few fixtures.
在第1部分中,实现了一个简单的单元测试和几个fixture。
The application we will create will be a simple unit-converter application.
我们将创建的应用程序是一个简单的单位转换应用程序。
Service tests can be developed with a simple unit testing framework like JUnit or Cactus.
可以使用简单的单元测试框架(JUnit或 Cactus)来开发测试。
The stabilizing feet, guiding angle, and collection bowl were all integrated into one simple unit.
稳固的底座,指示角度以及笔屑槽都被融合成为一个简单的整体。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
In the sections that follow, I show you a few simple unit tests that ensure that you do not inadvertently change the serialization format of your serializable classes.
在本文后续各节中,我将为您展示一些简单的单元测试,这些单元测试能确保您不会不经意地更改可串行化类的串行格式。
Sometimes I hear developers lump the term developer tests as simple unit tests; however, I've found that it's helpful to refine the term unit testing as something more specific.
有时,我听到开发人员将开发人员测试这一术语与简单的单元测试相混淆;然而,我发现将单元测试这一术语提练得更加明确很有帮助。
Sometimes I hear developers lump the term developer tests as simple unit tests; however, I've found that it's helpful to refine the term unit testing as something more specific.
有时,我听到开发人员将开发人员测试这一术语与简单的单元测试相混淆;然而,我发现将单元测试这一术语提练得更加明确很有帮助。
应用推荐