期刊文献+

基于UML模型的系统级测试用例生成方法 被引量:5

System-level test case generating method based on UML model
下载PDF
导出
摘要 采用基于UML模型的软件测试方法,主要整合用例图与顺序图进行系统级的软件测试。首先提出用例执行图(UEG)的生成算法、顺序执行图(SEG)的生成算法,及基于UEG和SEG,生成系统测试图(STG)的算法;其次,根据制定的三层次准则,遍历UEG、SEG、STG生成测试用例,主要解决交互错、场景错、用例执行错和用例依赖错等问题。最后,经实例分析和实验验证,该方法可以基于用例图和顺序图进行系统级的软件测试。 With the software testing methods based on Unified Model Language (UML) models, use case diagrams and sequence diagrams were integrated for system testing. Firstly, three algorithms were proposed including the algorithm for generating Use case diagram Execution Graph (UEG), the algorithm for generating Sequence diagram Execution Graph (SEG) and the algorithm for generating System Testing Graph (STG) based on UEG and SEG. Then, the UEG, SEG and STG were traversed to generate test cases for system-level testing based on specified three-level criteria, mainly to detect interaction, scenario, use case and use case dependency faults. Finally, the experimental validation shows that the solution can do system- level software testing based on use case diagram and sequence diagram.
作者 冯秋燕
出处 《计算机应用》 CSCD 北大核心 2014年第1期276-280,共5页 journal of Computer Applications
关键词 UML模型 软件测试 用例图 顺序图 测试用例 UML model software testing use ease diagram sequence diagram test ease
  • 相关文献

参考文献13

  • 1ZHENG J,FAN D J,HUANF Z Q,et al.Conformance checking ofcomponent-based systems for scenario-based specifications[C]//ICSESS 2011:Proceedings of the 2011 IEEE 2nd International Con-ference on Software Engineering and Service Science.Piscataway,NJ:IEEE Press,2011:5-9.
  • 2AVRITZER A,de SILVA S E,LEAO E,et al.Automated genera-tion of test cases using a performability model[J].Software IET,2011,5(2):113-119.
  • 3ARITRA B,SUDIPTO G.Test input generation using UML se-quence and state machines models[C]// ICST 2009:Proceedingsof the 2009 International Conference on Software Testing Verificationand Validation.Colorado:ICST,2009:121-130.
  • 4BRIAND L,LABICHE Y.A UML-based approach to system testing[J].Journal of Software and Systems Modeling,2002,33(16):10-42.
  • 5LETTRARI M,KLOSE J.Scenario-based monitoring and testing ofreal time UML models[C]// Proceedings of the 4th InternationalConference Toronto,LNCS 2185.Berlin:Springer-Verlag,2011:312-328.
  • 6BASANIERI F,BERTOLINO A,MARCHETTI E.The cow suit ap-proach to planning and deriving test suites in UML projects[C]//Proceedings of the Fifth International Conference on the UML.Ber-lin:Springer-Verlag,2008:383-397.
  • 7SARMA M,DEBASISH K D,MALL R B.Automatic test case gen-eration from UML sequence diagrams[C]// ADCOM:Proceedings ofthe 2007 International Conference on Advanced Computing andCommunications.Guwahati:ADCOM,2007:60-65.
  • 8SAMUEL P,JOSEPH A.Test sequence generation from UML se-quence diagrams[C]// SNPD:Proceedings of the Ninth ACIS In-temational Conference on Software Engineering,Artificial Intelli-gence,Networking,Parallel/Distributed Computing.Washington,DC:SNPD,2008:879-887.
  • 9KO J W,SIM S H,SONG Y J.Test based model transformationframework for mobile application[C]// ICISA:Proceeding of the2011 International Conference on Information Science and Applica-tions.Jeju Island:ICISA,2011:1-7.
  • 10刘继华,陈策.基于变迁的完全路径覆盖测试[J].计算机应用,2012,32(11):3075-3077. 被引量:3

二级参考文献41

共引文献9

同被引文献35

引证文献5

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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