• 必须编写每个测试尽量覆盖尽可能多的方法和分支

    You have to write each test to cover as much as it possibly can.

    youdao

  • 覆盖一样如果特定方法分支并且分支测试覆盖那么可以说这个方法100%的分支覆盖率。

    Just like line coverage, if there are two branches in a particular method and both were covered through tests, then you could say the method has 100% branch coverage.

    youdao

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

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

    youdao

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

    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.

    youdao

  • Cobertura通过被测试测试分支来计算覆盖率。

    Cobertura calculates coverage both by the number of lines tested and by the number of branches tested.

    youdao

  • 路径覆盖考察软件测试充分性重要准则使程序每个分支至少执行一次

    Path coverage is a kind of important standard that investigates the sufficiency of software testing, it requires that every branch in a program should be performed at least once.

    youdao

  • 其次使用分支覆盖标准覆盖TFG图,得到符合状态迁移消息事件测试序列

    Secondly, with the test coverage criteria covering TFG, we can get the test sequences of events according with the transition of the state.

    youdao

  • 单元测试阶段结构覆盖测试往往要求语句覆盖分支覆盖率均达到100%。

    In the unit test stage, it is often required that sentence coverage rate and branch coverage rate all up to 100% in the structure coverage test.

    youdao

  • 单元测试阶段结构覆盖测试往往要求语句覆盖分支覆盖率均达到100%。

    In the unit test stage, it is often required that sentence coverage rate and branch coverage rate all up to 100% in the structure coverage test.

    youdao

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

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

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