• In some rare instances, I just can't figure out how to write a test at all.

    在少数情况下,我恰好根本想不出如何编写测试。

    youdao

  • Even though I haven't written a lick of code yet, it's time to write a test.

    即使我还没有编写一丁点代码,但也该编写测试了。

    youdao

  • When fixing a bug, first write a test that fails because of it, then fix the bug.

    当修正bug的时候,先要写一个能针对它的测试,然后再修复bug。

    youdao

  • The mantra for coding TDD is: "What is the simplest thing for which I can write a test?"

    编写TDD的信条是:“可以为其编写测试的最简单内容是什么?”

    youdao

  • Accordingly, I can write a test case to verify XMLUnit's behavior, as shown in Listing 6.

    相应地,我可以编写测试用例来验证XMLUnit的行为,如清单6所示。

    youdao

  • NUnit lets you write a test case in the same language and environment as your application.

    Nunit允许你用与应用程序相同的语言和环境来写测试用例。

    youdao

  • JUnit has a bit of this pattern language approach, because it can help you write a test case.

    JUNIT使用了一点模式语言的方法,因为它能帮你写一个测试用例。

    youdao

  • The first thing to do is write a test for the simplest possible transfer behavior, such as the code in Listing 4.

    我们要做的第一件事就是为最简单的转帐行为写一个测试,比如清单4中的代码。

    youdao

  • At this point, the DLL will compile and link, so one could write a test program to use the Sample API and test it.

    此时将编译和链接dll,因此可以编写测试程序来使用ExampleAPI并对其进行测试。

    youdao

  • You want the test to verify that the elements List now holds the Object added by push. So, you write a test like this

    您需要进行这一测试来验证elementsList现在是否含有 push添加的Object。

    youdao

  • Perhaps the rationale for this is that, by knowing who the owner is, you can gently prod that person to write a test case.

    也许它的基本原理是,通过了解所有者是谁,您可以温和地让此人书写测试用例。

    youdao

  • Next, you want to write a test that verifies not only that the output is present, but that it's correct. There are two ways you can do this

    接下来,您想要编写一个测试,不仅要验证输出得到了显示,还要验证输出是正确的。

    youdao

  • After checking with Wikipedia to find the first few perfect Numbers, I can write a test that verifies that I can in fact find perfect Numbers.

    在Wikipedia上查找到前几个完全数之后,我可以编写一个测试,它检查实际上是否可以找到完全数。

    youdao

  • Before attempting to write a test for the code in Listing 1 (and indirectly Listing 2), you might want to ascertain what exactly requires testing.

    在企图为清单1(间接的是清单2)的代码编写测试之前,可能想确定实际需要测试什么。

    youdao

  • This "write a test, write just enough code to get it to pass, rerun the test" approach is the xp development flow that you should experience every day.

    这种“编写一个测试,编写足够的代码来使测试通过,重新进行测试”方法是您每天都在经历的XP开发流程。

    youdao

  • I still want to have a test so I can have the confidence that comes from a full regression suite, but I have to write some code first, then write a test.

    我仍然希望进行测试,这样我可以从完整的回归套件中获得信心,但我必须先编写一些代码,然后编写测试。

    youdao

  • From a functional standpoint, you'd probably want to write a test to fill in the form value, click the Submit button, and then verify the presence of the definition under the form.

    从功能性观点考虑,您或许希望编写一个测试:填入表单值,单击Submit按钮,然后验证表单是否显示定义。

    youdao

  • Write a test for the withdraw() method on Account. Your test should now look like Listing 6

    为Account 的withdraw()方法编写一个测试。

    youdao

  • Write a test report for each API you ve tested. The template of the report is given in Appendix iv below.

    对你测试过的每一个API编写测试报告。测试报告的模板请见附录IV。

    youdao

  • Write a test report for each API you ve tested. The template of the report is given in Appendix iv below.

    对你测试过的每一个API编写测试报告。测试报告的模板请见附录IV。

    youdao

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

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

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