借鉴免疫网络的原理,构建了一个行为仲裁系统,对行为单元进行协调。
By using immune network principle, a behavior arbitration system is built to select behavior.
单元测试定义一个有关每个单元的行为的书面合同。
Unit testing defines a written contract about the behavior of each unit.
Mockito真的不需要期望行为,这简化了单元测试。
Mockito really cleans up the unit test by not requiring expectations.
当你得到一个单元测试的异常或不一致行为时。
When you are getting unexpected or inconsistent behavior from a unit test.
您可以定义单元测试,以验证资料库物件的行为。
You can define unit tests to verify the behavior of your database objects.
您也可以建立单元测试以确认新的或变更的行为。
You can also create unit tests to verify new or changed behavior.
此行为不面如果那些特定的单元测试不运行。
This behavior does not surface if those particular unit tests are not run.
这个单元测试应当准确表达您期待的代码的行为。
The unit test should express your intention for how you expect your code to behave.
这个单元测试应当准确表达您期待的代码的行为。
The unit test should express your intention for how you expect your code to behave.
应用推荐