期刊文献+

在带OCL约束的状态图下测试线索的自动生成

Test sequence automate generation from state diagram with OCL constraints
下载PDF
导出
摘要 提出一种带OCL约束的状态图测试线索的自动生成方法。该方法自动解析类图和带OCL约束的状态图的XML模型文件,获取相应的状态节点邻接表,再结合状态对—事件约束集合生成带OCL约束的测试线索。实例研究表明,通过OCL约束冲突判断可避免不可行测试线索的生成,减少测试用例数目,达到降低测试成本的目的。实验结果证明了该方法的可行性和有效性。 This paper proposed an effective generation approach to test sequence from state diagram with OCL constraints.It acquired constitute corresponding adjacency list of state nodes by automatically analyzing XML model file of class diagram state diagram with OCL constraints.Then,generated test sequence with OCL constraints based on state adjacency list StatusCouple-Event set.The case research indicated that,the generation of infeasible testing sequence could be avoided through OCL restrict conflict judgement,and that it could effectively reduce the number of test case,so as to achieve the objective of reducing the test cost.This method was verified to be feasible and effective by experimental results.
出处 《计算机应用研究》 CSCD 北大核心 2011年第3期988-990,994,共4页 Application Research of Computers
关键词 对象约束语言 可扩展标记语言 类图 状态图 测试线索 约束冲突 OCL(object constraint language) XML class diagram state diagram test sequence constraint conflict
  • 相关文献

参考文献8

  • 1Object management group.unied modeling language specication2.1.1infrnstructure specification[EB/OL].http://www.omg.org/cgi-bin/doc? formal/07-02-04. 被引量:1
  • 2Object Management Group.Object constraint language v2.0[EB/OL].http://www.omg.org/cgi-bin/doc? formal/2006-05-01. 被引量:1
  • 3蒋忠炜,张云华,谢轩昂.基于MDA的软件测试用例生成[J].计算机工程与应用,2007,43(17):97-99. 被引量:2
  • 4WEISSLEDER S,SCHLINGLOFF B H.Quality of automatically generated test eases based on OCL expressions[C] //Proc of the 2008 Intemational Conference on Software Testing,Verification,and Validation.[S.l.] :IEEE Computer Society,2008:517-520. 被引量:1
  • 5LI Bao-lin,LI Zhi-shu,LI Qing,et al.Test case automate generation from UML sequence diagram and OCL expression[C] //Proc of International Conference on Computational Intelligence and Security.2008:1048-1052. 被引量:1
  • 6REYNOSO L,CRUZ-LEMUS J A,GENERO M,et al.Formal definition of measures for UML statechart diagrams using OCL[C] //Proc of the 2008 ACM Symposium on Applied Computing.New York:ACM,2008:846-847. 被引量:1
  • 7ZENG Yi,CHEN Lian-ping,CHAI Yan-xin,et al.UML-besed approach to generate polymorphic testing sequence and its implementation[C] //Proc of the 2009 WRI World Congress on Software Engineering.Piscataway:IEEE Computer Society,2009:251-255. 被引量:1
  • 8龚红仿,李军义,高捷,童小娇.面向对象的类的状态测试技术研究[J].计算机应用研究,2005,22(12):69-72. 被引量:5

二级参考文献25

  • 1ROBERTVBinder 华庆一 王斌君 陈莉译.面向对象系统的测试[M].北京:人民邮电出版社,2001.. 被引量:6
  • 2[美]JohnDMcGregor DavidASykes著 杨文宏 李新辉 杨洁译.面向对象的软件测试[M].北京:机械工业出版社,2002-08.. 被引量:2
  • 3PaulCJorgensen.软件测试[M].北京:机械工业出版社,2003.. 被引量:8
  • 4郑人杰 殷人昆 陶永雷.实用软件工作(第2版)[M].北京:清华大学出版社,1997.. 被引量:1
  • 5Kung Detail.On Object State Testing[C].Proc. COMPSAC'94,Taiwan,1994.222-227. 被引量:1
  • 6Bourhfic C,Dssouli R,Aboulhamid E M.Automatic Test Generation for EFSM-based System[EB/OL].http://citeseer.nj.nec.com. 被引量:1
  • 7Coga N,Comparing TorX,Autolink.TVG and UIO Test Algorithms[M].Berlin:Springer-verlag Berlin Heikelberg,2001. 被引量:1
  • 8[美]JosephSchmuller 李虎 王美英 万里威.UML基础、案例与应用[M].北京:人民邮电出版社,2002.. 被引量:3
  • 9Grady B,James R,Ivar J.The Unified Modeling Language User Guide[M].Chicago:Addison Wesley,1999. 被引量:1
  • 10Kim Y G,Hong H S,Bae D H.Test Cases Generation from UML State Diagrams[J].IEEE Proceeding on Software,1999,46(4):187-192. 被引量:1

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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