期刊文献+

从集合表达式产生测试数据的方法 被引量:3

Approach to generating test data from set expressions
下载PDF
导出
摘要 软件测试保证和提高了软件质量,因此成为软件界最为关心的问题之一。测试数据的好坏直接影响软件测试的效果。形式规格说明中的前置条件可用来产生测试数据。而前置条件是基于关系操作符的谓词表达式。给出了一个针对集合关系表达式的测试准则和产生符合测试准则的测试数据的算法,根据该测试准则产生的测试数据对于集合条件表达式有比较好的错误检测能力。从给出的数据库查询的例子说明了该方法对于检测代码错误的有效性。 Software testing guaranteeing and improving the software quality becomes the main concerned point in the field. Test data generation effects software testing directly. The preconditions based on relation operators in formal specifications is used to generate test data. A test criterion for generating test data from set relation operators is proposed, and then an algorithm is developed that generates test data satisfying the test criterion. The test data generated by the algorithm can effectively detect errors in codes corresponding to the set relation expression. An example is given to illustrate the effect of detecting errors in codes.
出处 《计算机工程与设计》 CSCD 北大核心 2008年第20期5237-5242,共6页 Computer Engineering and Design
基金 国家自然科学基金项目(60673115) 国家973重点基础研究发展计划基金项目(2002CB312001)
关键词 形式方法 OBJECT-Z 软件测试 测试数据 集合表达式 代码变异错误测试 formal method object-Z software test test case set expressions code mutation testing
  • 相关文献

参考文献12

  • 1Jacqueline A McQuillan,James F Power.A survey of UML-based coverage criteria for software testing[R].National University of Ireland,2005.
  • 2Simon Burton.Automated testing from Z specifications[EB/OL]. http://citeseer.ist.psu.edu/article/burton00automated.html.
  • 3Graeme Smith.The object-Z specification language[M].Kluwer Academic Publishers,2000.
  • 4Roger Duke,Gordon Rose,Graeme Smith.Object-Z: A specification language advocated for the description ofstandards[J].Computer Standards and Interface, 1995,17:511-533.
  • 5Nina Amla, Paul Ammann. Using Z specifications in category partition testing[C].Proceeding of COMPASS 1992 Seventh Annual Conference On Computer Assurance, 1992.
  • 6Wing J M.A study of 12 specification of the library problem[C]. IEEE Software, 1988:66-76.
  • 7Bruno Legeard, Fabien Peureux,Mark Utting.Automated boun-dary testing from Z and B[C].FME,2002:21-40.
  • 8Chilenski J J,Miller S P.Applicability of modified condition/decision coverage to software testing [J]. Software Engineering Journal, 1994,9(5): 193-200.
  • 9Paul Ammann,Jeff Offutt,Hong Huang.Coverage criteria for logical expressions[C].Proceedings of the 14th International Symposium on Software Reliability Engineering(ISSRE'03),2003.
  • 10Philip Samuel,Raj ib Mall.Boundary value testing based on UML models [C]. Proceedings of the 14th Asian Test Symposium (ATS'05),2005.

二级参考文献8

  • 1刘勇,曾明,朱利,陈继峰,严建伟.基于数据流的软件测试序列自动生成技术研究[J].微电子学与计算机,2005,22(5):131-135. 被引量:10
  • 2Tai Ying Jiang,Chien Nan Jimmy Liu,Jing Yang Jou.An observability measure to enhance statement coverage metric for proper evaluation of verification completeness[A].Proceedings of the ASP Design Automation Conference,2005[C].Asia and South Pacific.2005:323~326
  • 3Gupta N,Mathur A P,Soffa M L.Generating test data for branch coverage[A].Automated Software Engineering,2000.Proceedings ASE 2000[C].The Fifteenth IEEE International Conference on 11~15 Sept.2000:219~ 227
  • 4S HAN Jin Hui,WANG Ji,QI ZhiChang,WU Jian Ping.Improved method to generate path-wised test data[J].Journal of Computer Science and Technology.2003,18(2):235~240
  • 5Rapps S,Weyuker E j.Selecting software test data using data flow information.IEEE Transactions on Software Engineering[J].April.1985,SE-11 (4):1367~375
  • 6Paul C Jorgensen.韩柯,杜旭涛译.Software testing:a craftsman's approach[M].2nd Edition.北京:机械工业出版社,2003,58:143~159
  • 7Edvardsson J,Kamkar M.Analysis of the constraint solver in UNA based test data generation[J].ACM SIGSOFT Software Engineering Notes,2001,26(5):237~25
  • 8王建国,吴建平.基于扩展有限状态机的协议测试集生成研究[J].软件学报,2001,12(8):1197-1204. 被引量:24

共引文献5

同被引文献17

引证文献3

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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