• To refine your unit test further, you can assert that the validation failed for a specific constraint on a specific field, as shown in Listing 8.

    进一步细化单元测试可以断言验证会因为特定字段的特定约束失败如清单8所

    youdao

  • This notifies the validation framework that any unit declared by this package should be validated by this domain validator.

    将会通知声明确认框架应该确认器来确认。

    youdao

  • The second option is to mock out the validation behavior and leave the test in the unit directory.

    第二选择模拟验证行为测试类保留单元目录中

    youdao

  • Testing the form validation can also be done in the unit test (Listing 19 shows the form validation test code).

    表单验证测试可以单元测试完成清单19展示了表单验证的测试代码)。

    youdao

  • To mock out the Grails validation in a unit test, add the mockForConstraintsTests method, as shown in Listing 6.

    单元测试中模拟Grails验证添加mockforconstraintstests方法如清单6

    youdao

  • For example, you definitely do want to build unit tests for all of the controller logic and all of the validation logic in your application.

    例如肯定希望能为应用系统中的所有控制器逻辑和验证逻辑创建单元测试

    youdao

  • If you already have code that performs validation, you can use it in a database unit test instead of using test conditions.

    如果已有执行验证代码,则可以用于数据库单元测试而不使用测试条件

    youdao

  • In computer programming, unit testing is a software verification and validation method in which a programmer tests if individual units of source code are fit for use.

    计算机科学中,单元测试一个有程序员测试源代码个体单元是否适合使用软件检测验证方法

    youdao

  • To keep this demo simple, we will not be covering unit testing, input validation, error handling, data encapsulation, authentication, routing, or any other facets of a well designed MVC application.

    为了简洁不会牵涉到单元测试输入验证错误处理数据封装,审核,路由任何MVC设计有关细节。

    youdao

  • Do different database unit tests need to access different database connections for test execution or test validation?

    不同数据库单元测试是否需要访问不同的数据库连接执行验证测试

    youdao

  • Do different database unit tests need to access different database connections for test execution or test validation?

    不同数据库单元测试是否需要访问不同的数据库连接执行验证测试

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定