• Preferably, you should code test cases first.

    应该优先编写测试用例

    youdao

  • Test the code in a separate application.

    单独应用程序测试代码

    youdao

  • Paste this code into your test class and save it.

    代码测试保存

    youdao

  • But doing so will probably make your code harder to test, debug, and maintain.

    这样做可能代码更加难以测试调试维护。

    youdao

  • Refactoring is a more tedious procedure than generating new test code from scratch.

    重构会一个从头生成测试代码乏味过程

    youdao

  • Now the test code clearly represents the intent of the test.

    现在测试代码清楚地表示出测试意图

    youdao

  • Code a little and test what you built.

    编写一些代码,马上进行测试构建。

    youdao

  • This code allows the test to pass, but upon reflection, it's awful!

    段代码允许测试通过但是考虑一下,十分糟糕!

    youdao

  • Listing 4 shows the full code of the test case object.

    清单4显示测试用例对象完整代码

    youdao

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

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

    youdao

  • If you can decouple them, you can more easily code, test, and maintain them.

    如果它们更加易于编码测试维护

    youdao

  • We avoid the cost of rewriting code to test it later.

    我们避免重写代码后再进行测试高昂代价

    youdao

  • The test code would like it to produce a different type (a mock).

    测试代码希望产生一种类型的对象(模仿对象)。

    youdao

  • With the code done, you can test the application.

    代码完成之后可以应用程序进行测试

    youdao

  • Write just enough code to make the test compile.

    编写足够的代码使测试进行编译

    youdao

  • In your test code, create a specialization object that extends (specializes) the target.

    测试代码中,创建扩展(专用于)目标对象特殊化对象

    youdao

  • Writing application test code in a scripting language.

    脚本语言编写应用程序测试代码

    youdao

  • However, it requires a lot of effort to create robust test code.

    然而需要投入更多努力才能创建出智能测试代码。

    youdao

  • If programmers use TFP, they have to test their code.

    如果程序员使用TFP他们不得不代码进行测试

    youdao

  • Add custom code for accessing test data files.

    添加自定义代码访问测试数据文档

    youdao

  • Instead, write a test, then write just enough code to get that test to pass.

    相反,您只需编写测试然后编写足够代码使通过测试。

    youdao

  • Listing 6 shows the complete test client code.

    清单6展示完整测试客户机代码。

    youdao

  • Listing 2 shows the complete test client code.

    清单2展示完整测试客户机代码。

    youdao

  • This means that vendors can test code that has not yet been shipped.

    意味着供应商可以测试尚未发布代码

    youdao

  • I ran the test and implemented code to make the test pass.

    运行这个测试案例实现代码使测试通过

    youdao

  • You write enough code to make the test pass.

    编写足够的代码使测试通过

    youdao

  • To add a new batch item, I use the following test code.

    使用以下测试代码添加新的批处理条目

    youdao

  • The updated test code is shown in Listing 6.

    更新后测试代码如清单6

    youdao

  • Write your test code for the model.

    模型编写测试代码

    youdao

  • A test suite for legacy code begins with a single test.

    遗留代码测试套件首先开始一个单独的测试。

    youdao

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

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

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