• Unfortunately, code coverage testing only makes sure you're executing all the code you'd like to test.

    不幸的是,代码覆盖测试只能确保测试的所有代码得到执行。

    youdao

  • Theoretically, if you write code only to satisfy an existing test, then by definition you can achieve coverage for every line of code you write.

    理论上说如果满足现有测试撰写代码那么肯定能够实现您所每行代码的覆盖

    youdao

  • Theoretically, if you write code only to satisfy an existing test, then by definition you can achieve coverage for every line of code you write.

    理论上说如果满足现有测试撰写代码那么肯定能够实现您所每行代码的覆盖

    youdao

  • In general, though, if code coverage data is gathered during a successful test run, the information can be stored for later use as an indication of tested function.

    总的来说,尽管如果代码覆盖数据成功测试运行过程中收集的,那么信息可以存储起来随后作为测试功能指示

    youdao

  • In terms of how much of the code to test, on previous projects we hadn.t aimed for 100% code coverage in our software.

    代码测试的次数方面之前的项目我们没有打算在我们的软件中进行 100% 代码覆盖率的测试。

    youdao

  • As the test material is run against it, the code coverage tool USES these hooks to log the journey each test takes as it executes.

    测试材料遇到这些钩子代码覆盖工具使用这些钩子记录每个测试执行时所经历的过程。

    youdao

  • Full coverage was very expensive and difficult to achieve, because we had to hand-inspect our code to determine which lines were and were not hit by the test.

    完全覆盖非常昂贵并且很难达到因为我们必须手工的检查我们代码确定哪一行代码没有测试覆盖到。

    youdao

  • This tool enabled us to monitor the coverage provided by our tests and then decide whether to improve the tests or test the code through manual inspection instead.

    这个工具能够使我们观测我们提供代码覆盖测试然后决定改进测试还是通过手工检查的方法来测试代码

    youdao

  • Better still, I can open a coverage file in my browser and see exactly which lines of code my test cases cover.

    是,可以浏览器中打开一个覆盖率文件查看测试用例所覆盖的代码

    youdao

  • As you can see, using a code coverage tool can uncover important code that doesn't have a corresponding test case.

    正如看到的,使用一个代码覆盖工具可以揭露重要没有相应测试案例的代码。

    youdao

  • Therefore, knowing whether code has been tested, and seeing the actual test coverage Numbers, can allow developers and managers to more accurately predict the time needed to modify existing code.

    因此知道代码有没有测试看看实际测试覆盖数值可以开发人员管理人员准确地预知修改已有代码所需时间

    youdao

  • Coverage analysis also helps find out if there are any redundant test cases: tests that exercise the same path in the code over and over again, causing unnecessary delays.

    覆盖率分析可以帮您找到测试是否冗余测试代码同一路径反复运行,导致了不必要的时间延迟

    youdao

  • Change in test code: a test case that you added to improve code coverage may be causing the slowdown, possibly exercising a peculiar portion that is vulnerable to speed.

    测试代码变更增加的用来改善代码覆盖率的测试用例可能导致慢,也有可能部分代码特别容易影响速度。

    youdao

  • Furthermore, well-written application classes can easily be unit tested by providing stub implementations of the injected objects, improving test coverage and code quality.

    此外通过提供被注入对象存根实现改进测试覆盖率代码质量,轻松编写良好应用程序执行单元测试

    youdao

  • The four steps to this combination test method are: test selection, system resource utilization evaluation, kernel code coverage analysis, and final stress test evaluation.

    这一组合测试方法四个步骤:测试选择系统资源利用率评价内核代码覆盖分析以及最终压力测试评价。

    youdao

  • And you can combine utilities that automatically track code changes, trace test coverage, submit defects, inspect code profiles and memory usage, and so forth.

    可以结合一些应用它们可以自动跟踪代码变化跟踪测试覆盖提交错误检查代码外形存储使用等等

    youdao

  • The motivation behind coverage tooling is simply to give you (as a developer or tester) more insight into the areas of code that are being exercised by a set of test cases.

    覆盖工具背后动机作为开发员或者测试员)提供了关于代码一系列观点,这些代码一系列的测试之中会得到检查。

    youdao

  • A test coverage measurement is obtained by exercising a code base with a test harness and capturing data that corresponds to code having been "touched" throughout the lifetime of the test process.

    通过一个测试工具执行代码捕获整个测试过程中与触及代码对应数据可以获得测试覆盖度量

    youdao

  • A code coverage tool reports test coverage — either in the form of line or branch coveragethat represents the amount of code that is being touched when a test is run.

    代码覆盖工具可报告测试覆盖率——覆盖分支覆盖形式表示——表示测试运行涉及代码

    youdao

  • Code coverage indicated we were done after one test case, but CC forced us to write an additional one.

    代码覆盖率指示我们已经一个测试之后完成了此操作,CC却会强迫我们编写额外的测试用例。

    youdao

  • Because we overrode the factory method to write this test, it turns out that we no longer have any test coverage of the original creation code (which is now inside the base class's factory method).

    因为我们覆盖工厂方法编写这个测试所以其结果是:我们测试不再包括任何原始创建代码(现在工厂方法内部)。

    youdao

  • The trick to test coverage measurement is to use the coverage report to expose code that hasn't been tested, on a micro level and on a macro level.

    测试覆盖度量窍门使用覆盖报告找出未经测试代码,分别微观宏观两个级别。

    youdao

  • From a parameterized unit test, it automatically produces a traditional unit test suite with high code coverage.

    可以参数化单元测试自动生成一个传统的单元测试,而且很好的代码覆盖率

    youdao

  • In non-legacy environment and for new code within a legacy environment though, his answer is much different; in this case, high automated test coverage speeds you up. His reasons why.

    针对非遗留环境遗留环境代码答案则相反,这种情况下高度自动化测试覆盖提升你的速度。

    youdao

  • Drew to Jeff: "we're drawing up test cases for the next release and we noticed large swaths of code with basically no code coverage."

    DrewJeff说:“我们一个版本编写测试案例,我们注意到很多代码没有覆盖。”

    youdao

  • Once every method has at least one test, use a code coverage tool, such as Cobertura, to write one test for every branch until each line of code is tested.

    每个方法都有了至少测试使用代码覆盖率工具cobertura每个分支编写一个测试,直到每一代码都能够测试。

    youdao

  • While code coverage is a quite good metric, it can be misleading. Even if your tests cover 100% of your code, they may not actually test each behavior correctly.

    但是,代码覆盖率这个指标有时产生误导,因为即使全部代码都被测试到了,也未必说明这些代码所得到的运行结果是正确的。

    youdao

  • This modified test case passes on all fronts, including the Hansel code coverage checks.

    这个修改后测试用例所有方面都可以获得通过,包括Hansel代码覆盖检查

    youdao

  • Likewise, if a code base comprises 10,000 non-commenting lines of code and 3,500 of them were exercised on a particular test run, then the code base's line coverage is 35%.

    同样如果一个代码包含10000个非注释性的代码特定测试运行中有3500行执行,那么段代码覆盖率就是35%。

    youdao

  • The final result is a stress test that covers enough of the Linux kernel to be useful for stability statements, and that has the system usage and kernel code coverage data to support it.

    最终得到压力测试涵盖Linux内核足够多部分,有助于稳定性声明,并且系统使用情况内核代码覆盖情况数据支持它。

    youdao

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

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

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