覆盖测试 drape test ; coverage testing 分支覆盖测试 branch coverage testing 制定软件可接受标准。比如说错误率在多少,那些错误可以暂时不修改,测试多少轮,覆盖率多少,测试深度多少等等。
基于14个网页-相关网页
·2,447,543篇论文数据,部分数据来源于NoteExpress
您必须在编写每个测试时尽量地覆盖尽可能多的方法和分支。
You have to write each test to cover as much as it possibly can.
与行覆盖一样,如果在特定方法中有两个分支,并且两个分支在测试中都被覆盖,那么您可以说这个方法有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.
代码覆盖工具可报告测试覆盖率——以行覆盖或分支覆盖形式表示——它表示测试运行时所涉及的代码量。
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.
应用推荐