• The test class contains two tests: one to authenticate a valid user and another to authenticate an invalid user.

    这个测试包含两个测试个是鉴定无效用户另一个是鉴定个有效的用户。

    youdao

  • Now that I have my test class defined I can start developing (and testing) the application.

    定义测试后,可以开始开发测试这个应用程序了。

    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

  • 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

  • The execution model is a bit strange: The test class is reinstantiated every time a test method is executed.

    执行模型有点奇怪:每次执行测试方法的时候,都要重新实例化测试

    youdao

  • Finally, the two lines at the bottom allow you to run the tests within this test class by simply running this module.

    最后行负责这个测试内部运行测试方法是直接运行模块即可。

    youdao

  • Listing 4 shows the test class, again showing the main sections of the test.

    清单4显示测试显示测试主要部分

    youdao

  • For instance, some samples I've seen have adopted a convention where the test class USES the same names for its test methods as the class being tested does.

    例如介绍的一些例子采用约定是,测试测试方法使用测试相同名称

    youdao

  • When nose looks inside of a test class, it runs methods matching that same regular expression.

    nose 检查测试内部时,运行与同一正则表达式匹配方法

    youdao

  • The runner is smart enough to figure out which test class depends on which version of JUnit and invoke it appropriately.

    运行程序足够智能可以分辨哪个测试依赖于哪个版本JUnit适当地调用

    youdao

  • Listing 6 a test class for a special Facebook user.

    清单6一个特殊Facebook用户测试

    youdao

  • If the test class doesn't run, spend your time getting XPath support working before spending hours on writing code that might not work when it counts.

    如果测试不能运行,那么请编写代码之前时间获得XPath支持,否则编写的代码可能不会正常运行。

    youdao

  • Eclipse's JUnit integration can generate the test class automatically, so I can minimize my work by letting the tools do it for me.

    集成EclipseJUnit可以自动生成测试因此工具生成,从而减小工作量

    youdao

  • With JSFUnit API, the test class methods can submit data on a form and verify that managed beans are properly updated.

    了JSFUnitAPI测试方法可以提交表单数据并且验证管理bean是否被正确更新

    youdao

  • Listing 12 a test class for a polymorphic Facebook user record.

    清单12多态Facebook用户记录测试

    youdao

  • The above listing is a test class which performs basic tests on the feedparser module.

    上述清单实现feedparser模块基本测试功能的测试

    youdao

  • A simple test class for the polymorphic special Facebook user is presented below.

    下面给出一个多态Facebook特殊用户简单测试

    youdao

  • For instance, what will happen if I run the CreateWidgetUATest test class twice in a row?

    比如如果运行两次CreateWidgetUATest测试怎样

    youdao

  • HierarchyBuilder's constructor is private, however, so I can't test it via my test class (nor do I care to); therefore, my line coverage still hovers at 88%.

    然而,因为HierarchyBuilder构造器private类型的,所以不能通过测试测试(我关心)。因此,我的覆盖率仍然只有88%。

    youdao

  • The test class contains test fixtures, which are initialized in a setUp function.

    测试中包含测试装置(fixture),它们setUp函数初始化

    youdao

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

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

    youdao

  • Back inside the test class, we define the MockTransaction class as a member class, as shown in Listing 5.

    后退测试内部我们mocktransaction定义成员类,清单5中所

    youdao

  • Your test class now has a protected field called account, and the test method initializes it.

    现在测试一个叫做account受保护字段,测试方法对其进行了初始化

    youdao

  • The ScaTestExecutor constructor takes the test class and the name of the test as parameters.

    ScaTestExecutor构造函数测试测试名称作为参数。

    youdao

  • It is also invoked by the JUnit test class com.ibm.etools.egl.ui.wizard.EGLWizardUtilitiesTest that is provided with the sample code.

    同时它Junit测试com . ibm . etools . egl . ui . wizard . EGLWizardUtilitiesTest调用样品代码一起提供。

    youdao

  • The usual programming model with JUnit version 3.8 is to create a test class that extends one of the TestCase classes provided by JUnit.

    JUnit版本3.8常见编程模型创建测试它扩展了JUnit提供一个testcase

    youdao

  • The beauty of using JUnit is that the framework takes care of loading the test class, running the test, and reporting the results.

    使用JUnit美妙之处在于,框架负责装入测试运行测试以及报告结果。

    youdao

  • In Listing 3 I've created the class shell that will serve as my test class as I write the dictionary application.

    清单3中,创建shell作为编写字典应用程序时的测试类。

    youdao

  • We will first create a JUnit test class, add a single test to the class, and then, finally, execute the test.

    我们首先创建JUnit测试,将单个测试添加该类最后执行测试。

    youdao

  • Since you are using the cactus framework, you will extend the cactus test class org.apache.cactus.ServletTestCase. To do this.

    由于是在使用cactus框架,您扩展cactus测试or g . apache . cactus .ServletTestCase

    youdao

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

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

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