• 我们不想每一个测试这个行为

    You wouldn't want to test every class for this new behavior.

    youdao

  • 第三测试覆盖测试

    The third type is a coverage test.

    youdao

  • 清单7相应scitter测试相当简单

    And the corresponding Scitter class test in Listing 7 is pretty simple too.

    youdao

  • 名称一语中的地道出施行这两测试原因

    These names get to the heart of the reason behind the two kinds of tests.

    youdao

  • 美国马里兰州艾奇伍德的套特殊装置中,美国陆军志愿者接受掩埋、沙尘类测试

    U.S. Army volunteers took pot, acid and angel dust at a facility in Edgewood, Md.

    youdao

  • 然而我们运行这个测试时,我们没有得到期望输出

    However, when we run this test, we do not get the outcome we expect.

    youdao

  • 添加如列表6代码这个测试中。

    Add the code shown in Listing 6 to the test class.

    youdao

  • 代码测试保存

    Paste this code into your test class and save it.

    youdao

  • 首先编写单元测试然后再编写测试代码

    Write the unit test before writing code for class it tests.

    youdao

  • 为了保持代码简单测试代码放在一个文件中。

    To keep the code simple, I put the class and the test code in one file.

    youdao

  • 为了弄清除如何使用我们需要写一个测试

    To understand how to use this, we need a test class.

    youdao

  • 现在已经拥有了用于执行测试

    You now have your test class available for execution.

    youdao

  • 可以用这个运行测试

    You also use this class to run test packages.

    youdao

  • 第一选择测试转移集成目录中

    The first option is to move this test class into the integration directory.

    youdao

  • 每次保存这些文件时,便调用测试解析

    Each time you save the source file, you invoke a parsing of the test class.

    youdao

  • 下面我们简单示例所生成测试用例

    Here is the generated test case class for our simple example.

    youdao

  • 可以直观地写出堆栈单元测试

    Writing a unit test for a Stack class is straightforward.

    youdao

  • 清单3显示字典应用程序开始测试

    Listing 3 shows the dictionary application's beginning test class.

    youdao

  • 现在想像一下发出开销较高SOAP调用进行单元测试

    Now imagine trying to unit test a class that makes an expensive SOAP call.

    youdao

  • 这个测试名称可以更改

    Optionally the test class name can be changed.

    youdao

  • 现在需要运行编组程序测试

    Now, you need to run your marshaller testing class.

    youdao

  • 交付单元测试所需构架信息

    Class diagrams deliver the structural information unit testers need.

    youdao

  • uml模型中,创建一个测试

    Within the UML model create a test package and class.

    youdao

  • 2进一步描述测试生命周期

    The lifecycle of a test class is further illustrated in Figure 2.

    youdao

  • 运行测试用例需要启动服务器

    To run the test case classes, we need to start the server.

    youdao

  • 测试名称可以修改

    Optionally the name of the test class can be changed.

    youdao

  • 此时重新运行前面描述测试会产生正确结果

    At this point, re-running the test described previously results in the correct result.

    youdao

  • 运行这个测试产生预期结果

    Running this test class produces the expected result

    youdao

  • 对于每个案例来说,需要TestCase扩展测试

    For each test case. basically you need to extend your test class from TestCase.

    youdao

  • 特定函数生成测试

    Generating a test for a specific function or class.

    youdao

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

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

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