基于ElcEmma工具的代码覆盖软件测试技术研究  被引量:2

Research on Code Coverage of Software Testing Technology Based on ELcEmma

在线阅读下载全文

作  者:陈佳丽[1] 陈晓洁[1] 

机构地区:[1]龙岩学院信息工程学院,福建龙岩364012

出  处:《宜春学院学报》2016年第6期45-48,共4页Journal of Yichun University

基  金:福建省中青年教师教育科研项目(JA15489);龙岩学院第三批教学改革项目(2014JY29);龙岩学院青年攀登项目(LQ2014001)

摘  要:代码覆盖率测试技术是一种常见的白盒测试技术,利用它可在代码层面定位测试过程中所发现的缺陷。本文在已有研究基础之上,介绍了代码覆盖率的定义、分类及常用代码覆盖率测试工具,研究了针对Java语言的代码覆盖率工具ElcEmma的工作原理,并结合实例给出了具体的测试流程,分析了测试结果中代码的覆盖情况、未覆盖情况及缺陷定位等问题。Code coverage testing technology is a common white- box testing technology,which can locate the defects at the code- level in the testing process. Based on the existing research,the definition,classification of code coverage and the common code coverage tools are introduced in the paper. Also,the working principle of ElcEmma,a code coverage tool for Java language is studied,the specific testing procedures with a practical example are presented. At the end,the coveraged codes,non- coveraged codes and the located defects of the testing result are analyzed.

关 键 词:软件测试技术 代码覆盖率 ElcEmma 软件缺陷 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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