期刊文献+

面向大型实时软件的测试覆盖率快速分析方法 被引量:4

An Approach to Rapid Test Coverage Analysis for Large-scale Real-time Software
下载PDF
导出
摘要 现有测试覆盖率统计方法和工具不能完全满足航天领域大型实时软件系统的特殊需求。针对特殊需求,提出一种面向大型实时软件系统的测试覆盖率快速分析方法,借助于自主开发的C++代码覆盖率插装与分析工具,实现批量化的代码插装,实时采集和统计分析被测软件的语句、分支、条件、MC/DC和函数等覆盖率信息,并输出测试覆盖率详情报告。通过一系列脚本和工具链支持,实现全过程自动化。应用案例表明,该方法快速高效,可以及时调整测试策略,优化测试用例,更快地达到测试充分性要求。 Existing test coverage analysis approaches and tools cannot meet special requirements of large- scale real-time software system in aerospace industry. In this paper, an approach to rapid test coverage a- nalysis for large-scale real-time software system was proposed. With the help of a self-developed C + + code coverage instrumentation and analysis tool, a batch processing system of code instrumentation was implemented. Test coverage information of the SUTs, including statement coverage, branch coverage, condition coverage, MC/DC coverage, and function coverage were collected and analyzed in real-time. With the support of a series of scripts and tool chains, an automatic process was established. A case study shows that the proposed approach is very efficient, and that testers can adjust test strategies in time, im- prove test cases, and achieve the expected testing adequacy more rapidly.
出处 《西南科技大学学报》 CAS 2013年第3期89-94,共6页 Journal of Southwest University of Science and Technology
基金 国家自然科学基金项目(60970022)
关键词 实时软件 测试覆盖率 快速分析 Real-time software Test coverage Rapid analysis
  • 相关文献

参考文献8

二级参考文献15

  • 1罗蕾,熊光泽.实时多任务应用最坏情况设计的研究[J].电子科技大学学报,1997,26(1):74-77. 被引量:5
  • 2Kenneth C.Louden 冯博琴(译).编译原理及实践[M].北京:机械工业出版社,2000.1-427.
  • 3J C HUANG.An Approach to Program Testing. Department of Computer Science,University of Houston,Houston,Texas 7700
  • 4J C Huang. Program instrumentation and software testing[J].Computer,1978;11(4):3
  • 5Yingxu Wang,Graham King,Hakan Wickburg. A Method for Built-in Tests in Component-based SoftwareMaintenance
  • 6孙玉方,UNIC系统工具与应用,1992年
  • 7郑人杰,计算机软件测试技术,1992年
  • 8陈崇昕,形式语言与自动机,1988年
  • 9雷航,熊光泽,刘锦德.实时多任务系统的超时故障分析[J].电子科技大学学报,1997,26(3):273-278. 被引量:3
  • 10柳永坡,刘凌辉,晏海华,金茂忠,刘雪梅.白盒测试中源代码变更管理方法的研究与实现[J].计算机工程与应用,2009,45(6):85-88. 被引量:4

共引文献81

同被引文献24

引证文献4

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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