• 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

  • Now that the mock is prepared, I pass it as an argument to the method under test.

    现在mock准备好了,我把它作为参数传递给要测试的方法。

    youdao

  • When a doh.Deferred object is returned from a unit test, you must catch all errors from the asynch call and pass them to the object's errback method.

    当从单元测试中返回一个doh.Deferred对象时,必须捕获异步调用中产生的所有错误信息并把它们传递给对象的errback方法。

    youdao

  • Write your test cases first, and write only enough code to make your test case pass.

    首先编写测试用例,并且只编写足以让测试用例通过的代码。

    youdao

  • Simply run this test suite and pass in the path to your script. This test suite will run your script much like the groovy command.

    只要运行该测试套件,把脚本的路径传给它,它就会运行脚本,就像groovy 命令一样。

    youdao

  • She thinks the main problems facing primary school teachers who've already failed the test once might be the time and resources to study and pass.

    她认为对于已经有一次未能通过测试的小学教师而言,要学习并通过考试,最主要的问题可能是时间和资源。

    youdao

  • Secondly, certificate stands for nothing. When you pass a certain test, certificate proves that you pass the test, but nothing to do with your ability.

    其次,证书代表不了任何东西。当你通过了某项测试的时候,证书仅仅代表你通过了这项测试,但是并不能代表你具备某项能力。

    youdao

  • Even when we streamline our test cases to only those that "should pass," we can fall into this trap.

    即使当我们将我们的测试用例流线处理为那些只“应该通过”的内容时,我们也可能落入该圈套。

    youdao

  • Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.

    有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。

    youdao

  • We'll add features to a running example by iteratively following a simple principle: write a unit test, make it pass.

    我们向一个贯穿全文的例子中逐渐添加新功能,并遵循如下简单的规则:编写一个单元测试,然后让它通过。

    youdao

  • The other is to say that even if a computer could pass the test, it could only be producing a simulation of thinking, not the real thing.

    另一种说法是,即便一台计算机能通过这项测试,它也只能产生模拟思想的产物,但不是真正的思想。

    youdao

  • To pass the Turing test, and thus be considered intelligent, a program must fool a human being into believing that it is another human being.

    为了通过图灵测试,机器中的程序必须使对方(人类)误以为它也是一个人类,且如果机器通过了测试,该机器就被认为是人工智能。

    youdao

  • TDD requires that you do the opposite: write the test first and allow it to inform how you write the code that makes the test pass.

    TDD要求您反过来做:先编写测试,并让它来提示如何编写可以让测试通过的代码。

    youdao

  • When running tests, you must pass in at least one VM argument to help specify which GWT mode (hosted or Web) to run the test in.

    运行测试时,您必须至少传递一个VM参数,指明在哪种GWT模式(托管或Web)下运行测试。

    youdao

  • One interesting possibility might be to pass in an XPath to be used to test whether a template should be traced, and call the EXSLT Dynamic XPath Evaluation extension (dyn: evaluate ) to execute it.

    一种令人感兴趣的可能性是传递XPath,我们要用这个XPath来测试是否应该跟踪模板,并调用EXSLTDynamic XPathEvaluation扩展(dyn:evaluate)来执行它。

    youdao

  • As I said last month, writing just enough code to make a test pass keeps code simpler and keeps me focused on the task at hand.

    正如我上月所述,编写足够的代码以使测试通过可以简化程序代码,从而有更多的精力关注手边的工作。

    youdao

  • First, he said, it has to "pass a test" with "serious users" - by which he means academics and computational users.

    他说,Wolfram | Alpha首先要获得“专业用户”的考验——学术和专业计算的用户。

    youdao

  • If you're looking for a way to increase the capacity of your memory or pass a test, you don't need to memorize 23,000 words.

    如果你也想寻找一种方法去增加你的记忆能力或者通过考试,你不需要记住23,000个单词。

    youdao

  • Just pass the fully qualified class name of each test you want to run to the test runner, just as you would for a JUnit 4 test.

    只要将您想要运行的每个测试的全限定类名传递给测试运行程序,就像针对JUnit4测试一样。

    youdao

  • On the other hand, if the filter is still set to "all," the second part of the "or" expression will always be true, so all nodes pass the test.

    另一方面,如果筛选器仍然设为“All”,那么“or”表达式的第二部分将一直为true,因此所有的节点都会通过测试。

    youdao

  • These tests don't necessarily need to fail first (although a failure when you think a test should pass is pure gold, because you've found a potential bug).

    这些测试不一定需要首先采用失败测试的形式(但是,如果在认为测试应该通过时测试却失败了,这是很有价值的,因为这意味着找到了一个潜在的 bug)。

    youdao

  • If he wanted to become a real boy, he must pass the test of courage, loyalty and honesty.

    如果他想要成为一名真正的男孩,他就必须通过勇气,忠诚和诚实测试。

    youdao

  • Thank you for your kind invitation. And I'd like to go with you, but I must pass my driving test during the summer vacation.

    非常感谢您的盛情邀请,我也很愿意和你一起去,但是我要在暑假期间通过驾驶学校的考试。

    youdao

  • If something bad is happening in your life at the moment, look at it as if it were a test for you to pass.

    如果此刻生活中发生了不幸的事,把它看作是对你的考验,努力渡过难关。

    youdao

  • If what we want to say doesn't pass this test, then it's better left unsaid.

    假如我们想说的话没有通过这个测试,那么我们最好不要说。

    youdao

  • Of course, eating chocolate doesn't guarantee you'll pass every test. You'll still need to study!

    当然啦,吃巧克力不会保证你每次考试都及格。你还是得好好念书准备!

    youdao

  • You just need to pass your test function to getTestCallback, which, in turn, contains the assertions that you want to execute.

    您只需将测试函数传递给getTestCallback,而它反过来包含了所想执行的断言。

    youdao

  • You just need to pass your test function to getTestCallback, which, in turn, contains the assertions that you want to execute.

    您只需将测试函数传递给getTestCallback,而它反过来包含了所想执行的断言。

    youdao

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

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

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