期刊文献+

运用类复制变异和JPF技术生成类间测试用例 被引量:1

Test Case Generation for Inter-class with Class-duplicated Mutation and JPF(Java Path Finder)
下载PDF
导出
摘要 采用类复制变异方法,运用模型检测器Java PathFinder(JPF)来保证软件执行过程中产生的错误在输出结果中可见,同时将类间测试用例生成问题转化成模型检测中寻找反例的问题,自动生成满足变异覆盖准则的类测试用例,提出一种适用于类间调用的测试用例自动生成方法,并在程序模型检测器JPF上实现.实验结果表明,本文提出的方法能生成高效的Java类间测试输入数据,变异覆盖率高,可发现隐藏错误,并能显著减少测试生成的代价. To make the propagation of faults be the visible outputs and transform inter-class test generation into finding the counterexample in the model check, an automatic generation approach of the test sequences for inter-class is presented and implemented by applying the mutation test theory and class-duplication method and the program model checker Java PathFinder (JPF). The experimental results show that the presented approach can generate efficiently the test data of inter-class for Java, obtain high coverage of mutation test with hidden faults and reduce remarkably the test generation cost.
作者 钟诚 唐春艳
出处 《小型微型计算机系统》 CSCD 北大核心 2009年第8期1591-1595,共5页 Journal of Chinese Computer Systems
基金 广西科学基金项目(桂科自0728033)资助 广西高校人才小高地建设创新团队计划(桂教人[2007]71号)资助
关键词 类间测试 测试用例生成 程序模型检测 变异测试 JAVA PathFinder(JPF) inter-class test test case generation program model check mutation test Java PathFinder (JPF)
  • 相关文献

参考文献2

二级参考文献14

  • 1AllamarajuS BuestC DaviesJ.J2EE编程指南[M].北京:电子工业出版社,2002..
  • 2Sun Microsystems.Java 2 platform enterprise edition specification[Z].3,2001-07-27.
  • 3Sun Microsystems.Enterprise javabean specification[Z].V2.1,2002-08-02.
  • 4Sun Microsystems.JDBC 3.0 Specification[Z].2001-10.
  • 5Sun Microsystems[EB/OL].http://java.sun.com/products/jdbc/download.html
  • 6Harrold M J,Rothermel G.Performing Data Flow Testing on Classes[C]//Proceedings of 2nd ACM-SIGSOFT Symposium on the Foundations of Software Engineering,New Orleans,LA,USA.New Year:ACM Press,1994:154-163.
  • 7Buy U,Orso A,Pezze M.Automated Testing of Classes[C] //Proceedings of the International Symposium on Software Testing and Analysis,Portland,Oregon,United States.New Year:ACM Press,2000:39-48.
  • 8Gargantini A,Heitmeyer C.Using Model Checking to Generate Tests from Requirements Specifications[C]//Proceedings of the 7th European Software Engineering Conference.Toulouse:Springer-Verlag,1999:146-162.
  • 9Visser W,Pasareanu C,Khurshid S.Test Input Generation with Java PathFinder[C]//Proceedings of ISSTA'04,Boston,MA.New Year:ACM Press,2004-07:97-107.
  • 10Hong H S,Sung Deok Cha.Data Flow Testing as Model Checking[C] //Proceedings of the 25th International Conference on Software Engineering'03.Portland,Oregon:IEEE Computer Society,2003-05:232-242.

共引文献6

同被引文献1

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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