首页 | 本学科首页   官方微博 | 高级检索  
     

一种嵌入式软件的组合测试指标获取方案
引用本文:张荣,曹小鹏,孙家泽.一种嵌入式软件的组合测试指标获取方案[J].计算机与数字工程,2012,40(5):117-120.
作者姓名:张荣  曹小鹏  孙家泽
作者单位:西安邮电学院计算机学院 西安710061
基金项目:国家自然科学基金,西安市工业应用技术研发项目,陕西省教育厅自然专项项目
摘    要:为了获取组合测试中适应值函数所需要覆盖率、测试运行代价等信息,设计实现了基于嵌入式软件源代码插桩的指标获取方案。该方案使用交叉开发环境,完成了对源代码语法、词法分析,插桩库和插桩策略的制定,目标机/宿主机通讯方式设计,获得了语句覆盖率、分支覆盖率、运行时间、被测程序程序复杂度等关键指标,并以图表的方式提供统计结果,为组合测试设计适应值函数,进行测试用例约减提供了依据。

关 键 词:嵌入式系统软件  插桩  覆盖率  组合测试

A Method of Combinatorial Testing for Indicators Based on Embedded System Software
ZHANG Rong , CAO Xiaopeng , SUN Jiaze.A Method of Combinatorial Testing for Indicators Based on Embedded System Software[J].Computer and Digital Engineering,2012,40(5):117-120.
Authors:ZHANG Rong  CAO Xiaopeng  SUN Jiaze
Affiliation:(School of Computer Science and Technology,Xi’an University of Posts and Telecommunications,Xi’an 710061)
Abstract:In order to obtain coverage,test operation cost and other information needed by fitness function of combination test,the solution is designed based on embedded system software source code instrumentation.This solution uses cross-development environment,complete source code syntax analysis and lexical analysis,create instrumentation library,generate instrumentation strategy,design communication types between the target/host machine,get all sorts of indicators about statement coverage,branch coverage,running time,program complexity,give a diagram of the statistical results,provide the basis of reducing test case for fitness function designed by combination test.
Keywords:embedded system software  instrumentation  coverage rate  combinatorial testing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号