期刊文献+

基于粒子群算法的改进SCOTEM模型测试数据生成方法 被引量:1

Test data generation for enhanced SCOTEM based on PSO
下载PDF
导出
摘要 UML已经成为建模语言的事实标准,如何从UML模型生成测试用例为面向对象软件测试带来了新的挑战。为测试用例提供测试数据是其中的关键环节。ShaukatAli等人在UML基础上提出SCOTEM模型,但是该模型的测试数据需要人工生成。针对SCOTEM模型进行了改进使其适于灰盒测试,以OCL约束测试数据的生成和运行结果的验证,并提出了一种为基于粒子群算法的改进SCOTEM模型自动生成测试数据的方法。针对不同的覆盖标准,试验结果表明,该方法能够以更高的效率生成高质量的测试数据。 The unified modeling language (UML) has emerged as the defacto standard for analysis and design of OO systems. Generation of test cases bring challenges to OO software test. And providing test data for test cases is a key point. Shaukat Ali present an UML- based model called SCOTEM. But test data needs to be generated manually. An improvement is made to SCOTEM to adapt to greybox testing. OCL is used to constrain test data generation and test result validation, and an approach is proposed to generate test data for the enhanced SCOTEM based on particle swarm optimization algorithm. The experimental results show that it can generate higher quality test data more efficiently under different coverage criterion.
出处 《计算机工程与设计》 CSCD 北大核心 2009年第2期411-413,共3页 Computer Engineering and Design
关键词 集成测试 粒子群算法 测试数据 UML 状态图 协作图 integration testing PSO test data UML statechart collaboration diagram
  • 相关文献

参考文献9

  • 1Shaukat Ali,Lionel C.Briand.A state-based approach to integration testing based on UML models[J].Information and Software Technology,2007,49(11-12): 1087-1106.
  • 2Briand L C,Cui J,Labiche Y.Towards automated support for deriving test data from UML statecharts [C]. Proceedings of the ACM/IEEE International Unified Modeling Language Conference(UML),2003:249-264.
  • 3Clow B,White T.An evolutionary race: A comparison of genetic algorithms and particle swarm optimization for training neural networks[C].Proceedings of the International Conference on Articial Intelligence,2004:582-588.
  • 4Pargas R P, Harrold M J, Peck R R. Test-data generation using genetic algorithms[J].Joumal of Software Testing,Verication and Reliability, 1999,9(4):263-282.
  • 5傅博.基于模拟退火遗传算法的软件测试数据自动生成[J].计算机工程与应用,2005,41(12):82-84. 被引量:28
  • 6袁洁松,王林章,李宣东,郑国梁.UMLTGF:一个基于灰盒方法从UML活动图生成测试用例的工具[J].计算机研究与发展,2006,43(1):46-53. 被引量:13
  • 7黄陇,于洪敏,陈致明,于秀山.基于UML的软件测试自动化研究[J].计算机应用,2004,24(7):135-137. 被引量:11
  • 8刘敏,金茂忠,刘超.基于UML活动图模型生成测试场景的设计[J].计算机工程与应用,2002,38(12):122-124. 被引量:18
  • 9Gnesi S,Latella D,Massink M.Formal test-case generation for UML statecharts[C].9th IEEE International Conference on Engineering of Complex Computer Systems,2004:75-84.

二级参考文献25

  • 1刘敏 金茂忠 等.基于uml模型的交互式软件测试研究.2001年全国软件技术研讨会论文集[M].,2001..
  • 2Object Management Group.UML Specification 1.5.http://www.omg.org/docs/formal/03-03-01.pdf,2003-03-01/2004-06-01.
  • 3Grade Booch,James Rumbaugh,Ivar Jacobson.The Unified Modeling Language User Guide.Boston:Addison-Wesley,2001.
  • 4Grade Booch,James Rumbaugh,Ivar Jacobson.The Unified Modeling Language Reference Manual.Boston:Addison-Wesley,2001.
  • 5Philippe Kruchten,The Rational Unified Process-An Introduction,2nd Edition.Boston:Addison-Wesley,2000.
  • 6Wendy Boggs,Michael Boggs.Mastering UML with Rational Rose 2002.London:Sybex,Inc,2002.
  • 7Beizer.Black-Box Testing:Techniques for Functional Testing of Software and Systems.New York:John Wiley & Sons,Inc,1995.
  • 8Paul C.Jorgrnsen.Software Testing:A Craftsman's Approach.Boca Raton,Florida:CRC Press,1995.
  • 9Imran Bashir,Amrit L.Goel.Testing Object-Oriented Software:Life Cycle Solution.Berlin:Springer-Verlag,1999.
  • 10Hung Q.Nguyen.Testing Application on the Web:Test Planning for Internet-Based Systems.New York:John Wiley & Sons,Inc,2003.

共引文献64

同被引文献23

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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