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.
只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。
Now that the mock is prepared, I pass it as an argument to the method under test.
现在mock准备好了,我把它作为参数传递给要测试的方法。
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方法。
Write your test cases first, and write only enough code to make your test case pass.
首先编写测试用例,并且只编写足以让测试用例通过的代码。
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 命令一样。
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.
其次,证书代表不了任何东西。当你通过了某项测试的时候,证书仅仅代表你通过了这项测试,但是并不能代表你具备某项能力。
Even when we streamline our test cases to only those that "should pass," we can fall into this trap.
即使当我们将我们的测试用例流线处理为那些只“应该通过”的内容时,我们也可能落入该圈套。
Does Your Work Pass the Pleasure Test? 5 Signs You're Ready to roll?
你的作品通过乐趣测验了吗?
Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
We'll add features to a running example by iteratively following a simple principle: write a unit test, make it pass.
我们向一个贯穿全文的例子中逐渐添加新功能,并遵循如下简单的规则:编写一个单元测试,然后让它通过。
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.
另一种说法是,即便一台计算机能通过这项测试,它也只能产生模拟思想的产物,但不是真正的思想。
Just write a test and get it to pass.
仅仅编写测试,使它通过。
I have this test case set up to pass its verification point.
我将这个测试用例设置为通过它的验证点。
God wants you to pass the test of temptation.
上帝希望你通过诱惑的考验。
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.
为了通过图灵测试,机器中的程序必须使对方(人类)误以为它也是一个人类,且如果机器通过了测试,该机器就被认为是人工智能。
She managed to pass the driving test with my help.
在我的帮助下,她通过了驾驶考试。
He failed (to pass) his driving test.
他没有通过驾驶执照考试。
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要求您反过来做:先编写测试,并让它来提示如何编写可以让测试通过的代码。
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)下运行测试。
Sad to say, he failed to pass the entrance test.
不幸的是,他没有通过入学考试。
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)来执行它。
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.
正如我上月所述,编写足够的代码以使测试通过可以简化程序代码,从而有更多的精力关注手边的工作。
First, he said, it has to "pass a test" with "serious users" - by which he means academics and computational users.
他说,Wolfram | Alpha首先要获得“专业用户”的考验——学术和专业计算的用户。
There is no test to pass, no license to earn, no membership card to get.
没有考试需要通过,没有执照需要取得,没有会员卡需要得到。
Your goal is to make your test cases pass.
您的目标是使测试通过。
My task is clear. I need to make the test case pass.
显而易见,我的任务就是使测试通过。
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个单词。
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测试一样。
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测试一样。
应用推荐