期刊文献+

基于JPF的类数据流测试生成技术 被引量:4

Data-flow Test Generation for Classes with Java PathFinder
下载PDF
导出
摘要 通过设置陷阱性质,用时序逻辑公式表示数据流测试的覆盖准则,将测试生成问题简化成模型检测中寻找反例的问题,自动生成满足数据流覆盖准则的类方法测试调用序列,提出了一种适用于类方法调用序列自动生成的搜索算法,并在程序模型检测器JPF上实现。算法分析和实验结果表明,该算法能生成高效的方法调用序列并明显减少测试生成代价。 The coverage criteria on data-flow test is achieved by applying trap properties and the temporal logic relationship, the problem of test sequence generation is transformed into the one of finding the counter example in model check, and an automatic generation approach of the test sequences calling methods in class is presented. A searching algorithm to generate automatically the test sequences is designed and implemented with the program model checker called Java PathFinder. The algorithm analysis and experimental results show that the presented algorithm can generate efficiently the test sequences and reduce remarkably the test generation cost.
作者 唐春艳 钟诚
出处 《计算机工程》 CAS CSCD 北大核心 2007年第21期78-80,共3页 Computer Engineering
基金 广西自然科学基金资助项目(桂科自0339008) 广西科技信息网络中心资助课题
关键词 程序模型检测 数据流测试 类测试序列生成 JAVA program model check dataflow test generation of test sequences for classes Java
  • 相关文献

参考文献9

  • 1Harrold M J,Soffa M L.Interprocedual Data Flow Testing[C] //Proceedings of the 3th Testing,Analysis,and Verification Symposium,Key West,Florida,United States.New Year:ACM Press,1989:158-167.
  • 2Harrold 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.
  • 3Buy 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.
  • 4Gargantini 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.
  • 5Visser 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.
  • 6Hong 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.
  • 7Hong H S,Lee I,Olsky O S,et al.Automatic Test Generation from Statecharts Using Model Checking[C]//Proceedings of the 1st Workshop on Formal Approaches to Testing of Software.2001:15-30.
  • 8Rapps S,Weyuker E J.Selecting Software Test Data Using Data Flow Information[J].IEEE Trans.on Softw.Eng.,1985,11(4):367-375.
  • 9Mehlitz P C,Visser W,Penix J.The JPF Runtime Verification System[Z].(2006-11).http://javapathfinder.source forge.net.

同被引文献32

引证文献4

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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