• The state test of class is an important component part of object-oriented software test. Class unit test comes down to test the data member and member function.

    状态测试面向对象软件测试的重要内容,类的单元测试归结测试类数据成员成员函数

    youdao

  • As long as the class being tested behaves as expected, it won't notice the difference, and the unit test can check that the proper query was emitted.

    只要正在被测试行为期望的那样,不会注意差异单元测试检查是否发出正确的查询。

    youdao

  • It also generates a special class that can be used to unit test the objects created.

    生成一个特殊这个用于创建对象进行单元测试

    youdao

  • The test class represents the usual unit of test execution that occurs while you are developing, and so we should consider carefully how many tests to include in any one class.

    测试表示开发发生测试执行常见单元所以我们仔细考虑任何一个包括多少测试

    youdao

  • As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build.

    只要通过所有测试用例就将单元测试自动添加新的单元测试每次构建时运行

    youdao

  • You estimate a day to write each database access class and unit test it, so 150 tables at one table per day is 150 days.

    估计每天编写数据库访问完成单元测试因此,150 个要用 150的时间。

    youdao

  • The listing shows a utility class that gets used by the unit test.

    这个清单给出单元测试使用实用程序

    youdao

  • Tests can be categorized according to the amount of code they exercise: a unit test verifies the functionality of a single software component, such as a function or a class.

    可以测试按照测试代码多少分类:“单元测试检验单一组件功能比如函数或者一个类。

    youdao

  • Instead, I would write the class that runs all the unit test cases against the methods in the class.

    相反编写根据中的方法运行所有单元测试用例类。

    youdao

  • The next step is to run your unit tests, fix the syntax errors (that is, implement the class with the interfaces just defined by your test), and run the tests again.

    下一步就是运行单元测试修正语法错误(,编写一个使它实现测试定义接口),再次运行测试。

    youdao

  • As you can see, the unit test for a domain class now (with Grails 1.1) extends GrailsUnitTestCase.

    可以看到现在一个单元测试(Grails 1.1中)扩展了GrailsUnitTestCase

    youdao

  • Unit tests are written from the developer's perspective and focus on particular methods of the class under test. Use these guidelines when writing unit tests

    单元测试是从开发人员角度出发编写并且关注测试特定方法

    youdao

  • For example, Listing 1 defines a unit test that USES JUnit to verify a stubbed out data class called BeerDaoStub.

    例如清单1定义了单元测试,该测试使用JUnit验证一个叫做BeerDaoStub的存根数据

    youdao

  • JsfTestCase: This is the base test class for unit tests for Servlet and JSF components in a web application.

    AbstractJsfTestCaseweb应用ServletJSF组件进行单元测试基础测试

    youdao

  • After the require statement, a class declaration stating that this class is a subclass of Test: : Unit: : TestCase must be added (as shown in below in Listing 6).

    require语句后面,添加一个声明指出这个TestUnitTestCase子类(清单6)。

    youdao

  • To run this unit test, create a run configuration for the unit test class as a test: : unit type.

    运行这个单元测试,应该单元测试创建一个TestUnit类型Run配置

    youdao

  • To write the unit test for testing the View mode of the portlet in the BookmarkExampleTest class.

    编写单元测试bookmarkexampletest类中测试portletView模式

    youdao

  • Listing 16: Base test class for Wicket unit tests of Warsaw and Global projects.

    清单16warsawGlobal项目Wicket单元测试

    youdao

  • Not only is this easier to read, but it also helps with unit testing-we can unit test the action method without needing to mock the convenience properties of the controller class.

    不仅易于阅读而且有助于单元测试—我们需要模仿控制器便利属性能够单元测试这个动作方法

    youdao

  • Individual methods that are part of the mystringTest class form unit tests in the test suite.

    mystringtest类中的方法形成测试套件中的单元测试

    youdao

  • Each of these unit test methods takes an object of a specific class and a string (where the string is expected to be the name of the getter method that you are testing).

    每个单元测试方法获取具体对象字符串(字符串应该测试getter方法名称)。

    youdao

  • Generate test class for annotated-method interface for table: This will result in the generation of a special class that can be used for unit testing of the bean interface.

    Generatetest classforannotated - methodinterface fortable导致生成一个特殊这个用于bean接口进行单元测试

    youdao

  • Type grails test-app -unit User to target the specific test class you are interested in.

    键入grailstest - app -unit User定位感兴趣特定测试

    youdao

  • If you write unit tests only using the Database unit test Designer, you might not be familiar with the concept of a test class.

    如果使用数据库单元测试设计器来编写单元测试,则您可能熟悉测试概念

    youdao

  • The earlier example assumes that the two unit tests are part of the same test class.

    前面示例假定两个单元测试属于同一测试

    youdao

  • However, if your test run contains unit tests from different test classes, the common scripts for the associated test class will be run before and after the unit test runs.

    但是如果测试回合包含了不同测试类别单元测试,则执行单元测试前后,执行关联测试类别通用指令码

    youdao

  • Class is the basic unit in object-oriented test. Generally, class test can be divided into the testing way based on data flow and the testing way based on object states.

    面向对象测试基本单元,类测试一般分为基于数据测试方法基于对象状态的测试方法。

    youdao

  • When you create a unit test, a separate unit test file is created for each class that you are testing.

    注意事项产生单元测试时,系统预设建立档案主要取决于测试专案设定。

    youdao

  • You can refer to this class, for example, from a test method or a test-cleanup method that follows a unit test.

    例如可以测试方法单元测试后使用的测试清理方法引用此类。

    youdao

  • You can refer to this class, for example, from a test method or a test-cleanup method that follows a unit test.

    例如可以测试方法单元测试后使用的测试清理方法引用此类。

    youdao

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

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

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