首页 > 其他 > 详细

单元测试里面的PVC覆盖率

时间:2018-03-06 14:13:31      阅读:217      评论:0      收藏:0      [点我收藏+]

今天听到有人说,PVC覆盖率也是很重要的一种覆盖率,所以就Google了一下。

 

 

Unit Testing with Parameter Value Coverage (PVC):

 

Parameter Value Coverage (PVC) is the ability to track coverage of a method based on the common possible values for the parameters accepted by the method.

Current code coverage tools fail to take into consideration the possibility that a value for a parameter is not handled resulting in a bug. However, there may not be any code addressing this value in any way, introducing the possibility of obtaining 100% code coverage or line coverage (LC) without detecting the bug.

 

单元测试里面的PVC覆盖率

原文:https://www.cnblogs.com/evanxyhu/p/unit-testing-with-pvc.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!