Code exercised in a unit test will be reported as covered in the code-coverage statistics regardless of whether the test produced a decisive result or even contained an Assert statement.

  • 单元测试中执行的代码将作为代码覆盖率统计信息的一部分进行报告,而无论测试是产生了一个确定的结果还是甚至包含有Assert语句。
目录 查词历史