嵌入式软件路径覆盖测试的研究  被引量:2

Path Coverage Test of Embedded Software

在线阅读下载全文

作  者:施冬梅[1] 

机构地区:[1]镇江市高等专科学校电子信息系,江苏镇江212003

出  处:《计算机测量与控制》2010年第10期2236-2237,2240,共3页Computer Measurement &Control

摘  要:路径覆盖是软件测试中一种十分重要的方法,它使程序的每个分支至少执行一次;针对嵌入式软件测试的特点,提出了嵌入式软件路径覆盖测试的策略,通过模拟测试通用型智能水量计量仪C430主控程序的各个步骤,运用基本路径插桩策略分析计算插桩探针的位置、个数,统计计算整个探针的覆盖面,构造基本路径和实际程序执行路径;测试覆盖率达到71.1%,取得了一定的效果,对增强软件测试方案设计的系统性,提高软件测试质量和效率,起到了较好的作用。Path coverage is a very important method in software testing,it requires that every branch in a program be exercised at least once.In accordance with the characterstics of software testing embedded computer systems,the paper proposes the strategy of path coverage testing on embedded software.Through simulation testing the various steps of the Smart Water Meter C430 in the controlling process,the instrumentation probe location and number were calculated for the use of the basic path instrumentation strategy,the coverage of the entire probe was statistical calculated,the basic path and the actual program execution path were constructed.The coverage result 71.1% shows that the research achieved a certain effect through simulation tests,it plays a good role on enhancing the systematic design of software test and improving the quality and efficiency of software testing.

关 键 词:路径覆盖 软件测试 控制流程图 程序插桩 

分 类 号:TP311.56[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象