• 只有编写测试(失败)后,可以编写测试中的代码

    Only after you have your tests written (and failing) do you write the code under test.

    youdao

  • 由于没有系统中的相应部分构建代码测试失败

    The test fails because you have not yet built the code for that part of your system.

    youdao

  • 可以那些代码片段编写更多失败测试直到一个合理规范开始成形

    More failing tests could be written for those pieces of code until a reasonable specification begins to take shape.

    youdao

  • 现在一个即将失败测试程序,它将告诉真正需要编写那些代码

    Now you have a failing test that tells you exactly what code to write.

    youdao

  • 如果单元测试失败无法整合任何代码

    I can't integrate any code with failing unit tests.

    youdao

  • 第二测试提供指示失败检索状态代码

    The second test would supply a status code indicating a failed retrieval.

    youdao

  • 单元测试还给开发人员勇气重新划分代码因为测试失败可以立刻告诉开发人员存在错误。

    Unit tests also give developers courage to refactor the code, because a test failure tells the developer immediately if something's broken.

    youdao

  • 程序员测试给予开发者重构代码勇气因为测试失败会立即告诉开发者是不是有地方出了问题

    Programmer tests also give developers courage to refactor the code, because a test failure tells the developer immediately if something's broken.

    youdao

  • 注意这个代码测试旧版J VM上会失败

    Note that this code breaks only with older JVMs that I tested.

    youdao

  • 标准TDD编写能够使一个测试失败足够多代码

    Normal TDD writes only enough code to make a test fail.

    youdao

  • 接下来甚至进一步运行测试用例尽管知道它们失败因为没有该类编写任务代码

    Then I would even take it a step further and run the test cases, even though I know they will fail because I haven't actually written any of the code for it.

    youdao

  • 这个过程极其重要因为代码以后维护者可能破坏原来逻辑这时单元测试失败

    This process is of Paramount importance, because future maintainers of your code are bound to tamper with the original logic at some point, and the unit tests will fail the moment something breaks.

    youdao

  • 快速导航到使测试失败代码

    Quick navigation to a line of code where tests have failed.

    youdao

  • 每次流程失败的时候,就是学习如何改进代码标准测试实践机会,避免重大bug再次发生

    Every time the process fails you have an opportunity to learn how to improve your coding standards and testing practices so that major bugs don't happen.

    youdao

  • 修改任何代码编写一个失败简短测试

    Write a microtest that fails before you change any code.

    youdao

  • 测试中,调用ex版本strsafe系列函数的程序会调用失败时把缓冲区NULL0xfe作为填充字节代码如下。

    For this test, the Ex versions of the strsafe functions set NULL on failure and 0xfe as the fill byte.

    youdao

  • 代码运行时间十分合理,但是几个测试断言都失败

    This code runs in a respectable time, but a couple of the test assertions fail.

    youdao

  • 因此编写足够代码来使测试进行编译运行结果失败

    So, write just enough code to get the test to compile, run, and fail.

    youdao

  • 开发团队无法构建之后得到一份简明显示工作失败测试报告无法特定区域代码测试执行进行跟踪

    There are no reports available to the team which concisely show working and failing tests after a build or track the performance of tests in particular areas of the code over time.

    youdao

  • 而且由于每个UNIX命令返回一个指示成功失败状态代码,因此,可以使用任何命令作为条件”——而不仅仅使用测试操作符

    And because every UNIX command returns a status code reflecting success or failure, you can use any command as a conditionalnot just the test operators.

    youdao

  • 编写代码编写测试这种作法意味着测试运行失败之前,不会做工作真正有趣部分

    Writing a test before the code means you don't get to do the fun part of the job until the test runs and fails.

    youdao

  • 如果所有单元测试失败可以开始编写实际代码了。

    Provided that all the unit tests fail, I know that I am ready to begin writing the actual code.

    youdao

  • 移植未经测试遗留perl其他语言代码的确非常困难,编写失败测试可能上大忙,一个合理策略

    Porting legacy, untested code in Perl or any language is just plain tough, but writing failing tests could be a great help, and are a reasonable strategy.

    youdao

  • else代码简单逻辑分支,根据测试期望说明选取路经——不是另一条路经——之后测试失败(通过)的原因

    Else code block is a simple logical crossroad that helps show why the test would fail or pass if one path - and not another - is taken, according to test expectations.

    youdao

  • 这个失败没有用长度为零数组测试代码

    This failure says that I haven't tested the code using a zero-length array. That's easy enough to fix, so I can just add a quick test and move on to the next failure, shown in Listing 4.

    youdao

  • 第一一个单元测试失败可以准确地知道代码满足哪个条件

    The first is that when a small unit test fails, you know exactly which criteria your code doesn't meet.

    youdao

  • 除了恰好让单元测试失败代码编译错误也是错误的一种),不要更多的单元测试

    You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.

    youdao

  • 如果在要合并结果测试之间已重新编译成品代码,则合并结果有时会失败

    Each time you merge test results, the new set of results replaces all previously displayed merged results.

    youdao

  • 如果在要合并结果测试之间已重新编译成品代码,则合并结果有时会失败

    Each time you merge test results, the new set of results replaces all previously displayed merged results.

    youdao

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

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

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