检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:周丽雯 ZHOU Liwen(Shanghai Zhaoxin integrated circuit Co.,Ltd,Shanghai 201203,China)
出 处:《集成电路应用》2020年第6期16-18,共3页Application of IC
基 金:上海市科学技术委员会科技创新行动计划高新技术基金(14DZ1104300)。
摘 要:测试用例一直是软件质量稳定性的基本保障,测试用例覆盖的测试需求越多,说明这个测试用例越能发现代码潜在的问题,而代码覆盖率能很好反应测试用例覆盖的代码情况。现有很多软件可以统计测试用例的代码覆盖率情况,但是却没有给出代码对应的测试用例信息,基于Bullseye的统计结果,提出一种方法可以反推出代码的每个条件、分支、语句分别被哪些测试用例覆盖过,这样不仅可以帮助测试人员更好地了解、开发、利用测试用例,减少冗余测试用例的产生,也有助于测试人员在测试资源有限的情况下,针对特定需求筛选出少量必要的测试用例,实验结果表明,此方法可以快速查出对应的测试用例,帮助测试人员更好的管理测试用例。Testing cases are always the basic guarantee for software quality stability.The more test requirements covered by test cases,the more potential problems can be found in the code,and the code coverage can well reflect the code covered by testing cases.Existing a lot of software can get code coverage ratio,but there was no information about code corresponding to the given test case,this article,based on the statistical results of Bullseye,put forward a kind of method that can find each condition,branch,the statement is covered by what kind of testing cases,it can not only help the tester better understanding,developing,using testing cases,reducing redundant test cases generation,butalsocan help the tester select a small amount of necessary testing cases under the condition of limited resources for a particular demand,the experimental results show that this method can quickly identify the corresponding test cases and help testers to manage test cases better.
关 键 词:集成电路设计 测试代码 代码覆盖率 测试用例 Bullseye软件
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.144.124.142