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

应用代数规约和数据变异策略测试类
引用本文:余波,王昆.应用代数规约和数据变异策略测试类[J].计算机工程与应用,2011,47(21):86-89.
作者姓名:余波  王昆
作者单位:1. 中南林业科技大学涉外学院,长沙410042;国防科学技术大学计算机学院,长沙410007
2. 中南林业科技大学涉外学院,长沙,410042
基金项目:湖南省教育厅高校教学改革项目
摘    要:在应用基于代数规约测试类时,虽然可以有效解决测试数据生成和测试结果判断这两个测试难题,但是,因为该方法常常随机生成测试数据,会导致对于同一待测试类两次测试会得到不同的测试效果。为克服这个缺陷,提出应用数据变异方法,对已生成的测试用例进行变异。变异测试实验表明:该方法能够有效地改善代数测试方法的测试效果。

关 键 词:代数规约  数据变异  类测试
修稿时间: 

Applying algebraic specification and data mutation strategy to test class
YU Bo,WANG Kun.Applying algebraic specification and data mutation strategy to test class[J].Computer Engineering and Applications,2011,47(21):86-89.
Authors:YU Bo  WANG Kun
Affiliation:1.Swan College of Central South University of Forestry and Technology,Changsha 410042,China 2.School of Computer Science & Technology of National University of Defense Technology,Changsha 410007,China
Abstract:The method for testing class based on algebraic specification can overcome the difficulties for generating test cases and evaluating test outputs automatically.There is a defect for this method that it would obtain different effects for detecting faults for the same class under testing as the test data are usually generated randomly.This approach is proposed that the new test cases are added by applying data mutation strategy to the original test cases generated from algebraic specification to solve it.The experiments show that this method is feasible for improving the test effects of algebraic testing method.
Keywords:algebraic specification  data mutation  class testing
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号