首页 | 官方网站   微博 | 高级检索  
     

基于JPF的类数据流测试生成技术
引用本文:唐春艳,钟 诚.基于JPF的类数据流测试生成技术[J].计算机工程,2007,33(21):78-80.
作者姓名:唐春艳  钟 诚
作者单位:广西大学计算机与电子信息学院 南宁530004
基金项目:广西自然科学基金 , 广西科技信息网络中心课题
摘    要:通过设置陷阱性质,用时序逻辑公式表示数据流测试的覆盖准则,将测试生成问题简化成模型检测中寻找反例的问题,自动生成满足数据流覆盖准则的类方法测试调用序列,提出了一种适用于类方法调用序列自动生成的搜索算法,并在程序模型检测器JPF上实现。算法分析和实验结果表明,该算法能生成高效的方法调用序列并明显减少测试生成代价。

关 键 词:程序模型检测  数据流测试  类测试序列生成  Java
文章编号:1000-3428(2007)21-0078-03
修稿时间:2006-11-10

Data-flow Test Generation for Classes with Java PathFinder
TANG Chun-yan,ZHONG Cheng.Data-flow Test Generation for Classes with Java PathFinder[J].Computer Engineering,2007,33(21):78-80.
Authors:TANG Chun-yan  ZHONG Cheng
Affiliation:School of Computer and Electronics and Information. Guangxi University, Nanning 530004
Abstract: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.
Keywords:program model check  dataflow test  generation of test sequences for classes  Java
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号