• In rare cases, don't write a test at all and come back to it later.

    很少情况下根本编写测试放到后面编写。

    youdao

  • 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

  • If I find I can't write a test first after trying to do so, I back into the test.

    如果发现尝试编写测试之后,仍不能先编写测试,那么回到测试中来。

    youdao

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

    修正bug时候,要写一个针对测试然后再修复bug。

    youdao

  • Continuous Testing: Before programmers add a feature, they write a test for it.

    连续测试程序员增加一项特征完成测试程序。

    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

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

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

    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

  • When we find bugs, we write a test case to expose the bug and add it to the suite prior to fixing it.

    我们发现错误时,我们编写测试案例找到错误修正此错误之前添加套件中。

    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

  • 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 don't have to write a test for every single method you write, only production methods that could possibly break.

    不必每个方法编写测试程序,只需那些可能会发生变化的方法编写测试程序就够了。

    youdao

  • The key is to write a test that will fail if the aspect misbehaves or does not apply to the join points you intend it to.

    关键编写一个方面行为错误或者没有应用希望应用联结点处时会失败测试

    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

  • 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

  • This pattern is very simple: write a test against your system as you would if the behavior were not implemented with aspects.

    这个模式非常简单:就行为没有实现方面那样为系统编写一个测试

    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

  • Write a test that fails We selected the test that seemed the easiest to implement (although in this case they were all simple) and wrote it.

    失败测试我们选择一个容易实现的测试(虽然这个例子中所有的很简单)来实现。

    youdao

  • Your first thought could be that it's time to refactor, but doing so would break the first rule of refactoring, which is to write a test case.

    首先想到可能是:重构时间了,这样打破第一重构规则,即将编写一个测试用例

    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

  • As an example, I'll write a test that simulates a user selecting the second element in the combo box at row 0. The actions for the test to perform are.

    用作示例编写一个测试模拟用户选择0处组合中的第二元素

    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

  • For example, how do you write a test that simulates a user clicking a dropdown list and then verifies that it is populated with a given list of country names?

    举例来说,应该怎样测试程序来激活用户点击dropdownlist控件的事件呢?如果用户选择的国名列表,那么又怎样验证选中的内容呢?

    youdao

  • For example, how do you write a test that simulates a user clicking a dropdown list and then verifies that it is populated with a given list of country names?

    举例来说,应该怎样测试程序来激活用户点击dropdownlist控件的事件呢?如果用户选择的国名列表,那么又怎样验证选中的内容呢?

    youdao

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

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

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