期刊文献+

一种基于Bullseye反推代码行对应测试用例的方法 被引量:1

A Method Based on Bullseye to Infer Code Line Corresponding Test Case
下载PDF
导出
摘要 测试用例一直是软件质量稳定性的基本保障,测试用例覆盖的测试需求越多,说明这个测试用例越能发现代码潜在的问题,而代码覆盖率能很好反应测试用例覆盖的代码情况。现有很多软件可以统计测试用例的代码覆盖率情况,但是却没有给出代码对应的测试用例信息,基于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.
作者 周丽雯 ZHOU Liwen(Shanghai Zhaoxin integrated circuit Co.,Ltd,Shanghai 201203,China)
出处 《集成电路应用》 2020年第6期16-18,共3页 Application of IC
基金 上海市科学技术委员会科技创新行动计划高新技术基金(14DZ1104300)。
关键词 集成电路设计 测试代码 代码覆盖率 测试用例 Bullseye软件 IC design testing code code coverage testing case Bullseye software
  • 相关文献

参考文献3

二级参考文献19

  • 1徐宝文,聂长海,史亮,陈火旺.一种基于组合测试的软件故障调试方法[J].计算机学报,2006,29(1):132-138. 被引量:38
  • 2Harrnan M,Mcminn P,Wegener J.The impact of input domain reduction on search based test data generation[J].ACM,2007: 155- 156.
  • 3Taillam S,Gupta N.A concept analysis inspired greedy algorithm for test suite minimization[J].ACM,2005 : 132-135.
  • 4Harrold M J,Gupta R,Soffa M L.A methodology for controlling the size of a test suite[J].ACM Trans Softw Eng Methodol,1993,2(3): 270-285.
  • 5Jones J A,Harrold M J.Test-suite reduction and prioritization for modified condition/decision coverage[J].IEEE Trans Software Eng,2003,29(3):195-209.
  • 6Bueno P M S,Wong W E,Jino M.Improving random test sets using the diversity oriented test data generation[C]//Proceeding of the Second Internation Workshop on Random Testing, 2007 :10-12.
  • 7Bryce R C,Colbourn C J.Constructing interaction test suites with greedy algorithms[J].ACM, 2005.
  • 8Bryce R C,Colboum C J.One test at a time heuristic search for interaction test suites[J].ACM,2007:1082-1084.
  • 9Uyar H T,Uyar A S,Harrnanci E.Pairwise sequence comparison for fitness evaluation in evolutionary structural software testing[J]. ACM,2006: 1959-1962.
  • 10Zheng Li,Harman M,Hierons R M.Search algorithm for regression test case prioritization[J].IEEE Transactions on Software Engineering, 2007 : 225-225.

共引文献68

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部