期刊文献+

UMLTGF:一个基于灰盒方法从UML活动图生成测试用例的工具 被引量:13

UMLTGF: A Tool for Generating Test Cases from UML Activity Diagrams Based on Grey-Box Method
下载PDF
导出
摘要 UML已经成为建模语言的事实标准,如何从UML分析设计模型生成测试用例也为面向对象软件测试带来了新的挑战·为了从UML设计模型中的活动图直接生成测试用例,给出了UML活动图的形式化定义和灰盒测试方法·该方法首先分析UML活动图上的所有执行路径(每条路径称为一个测试场景),然后根据测试场景中的节点和转换所代表的活动及其输入/输出变量、相关约束条件等生成测试用例·并根据该方法实现了一个自动生成测试用例的工具UMLTGF,它可以从Rational Rose的规约文件中提取活动图信息并生成相应的测试用例·该工具能够提高软件测试的效率,降低测试成本· Nowadays UML has been the de facto standard of software modeling languages, and it also brings a new challenge to software testing- How to do software testing based on UML design models. To generate test cases directly from UML activity diagrams, a formal definition of UML activity diagrams and a grey-box test method are proposed. The method first extracts each possible executing path named a test scenario from an UML activity diagram, then it gets input/output variables and relative constraints from the activity states and transitions in each test scenario to generate test cases. A test case generation tool based on this method named UMLTGF is also implemented, it can extract the information of UML activity diagrams from Rational Rose specification files and automatically generate test cases. The tool improves the process of test case generation and reduces the cost of test model creation.
出处 《计算机研究与发展》 EI CSCD 北大核心 2006年第1期46-53,共8页 Journal of Computer Research and Development
基金 国家自然科学基金项目(60203009 60233020 60273036) 国家"九七三"重大基础研究发展规划基金项目(2002CB312001) 江苏省自然科学基金项目(BK2003408 BK2004080)
关键词 UML 活动图 灰盒方法 测试场景 测试用例 UML activity diagram grey-box method test scenario test case
  • 相关文献

参考文献12

  • 1Object Management Group.UML Specification 1.5.http://www.omg.org/docs/formal/03-03-01.pdf,2003-03-01/2004-06-01. 被引量:1
  • 2Grade Booch,James Rumbaugh,Ivar Jacobson.The Unified Modeling Language User Guide.Boston:Addison-Wesley,2001. 被引量:1
  • 3Grade Booch,James Rumbaugh,Ivar Jacobson.The Unified Modeling Language Reference Manual.Boston:Addison-Wesley,2001. 被引量:1
  • 4Philippe Kruchten,The Rational Unified Process-An Introduction,2nd Edition.Boston:Addison-Wesley,2000. 被引量:1
  • 5Wendy Boggs,Michael Boggs.Mastering UML with Rational Rose 2002.London:Sybex,Inc,2002. 被引量:1
  • 6Beizer.Black-Box Testing:Techniques for Functional Testing of Software and Systems.New York:John Wiley & Sons,Inc,1995. 被引量:1
  • 7Paul C.Jorgrnsen.Software Testing:A Craftsman's Approach.Boca Raton,Florida:CRC Press,1995. 被引量:1
  • 8Imran Bashir,Amrit L.Goel.Testing Object-Oriented Software:Life Cycle Solution.Berlin:Springer-Verlag,1999. 被引量:1
  • 9Hung Q.Nguyen.Testing Application on the Web:Test Planning for Internet-Based Systems.New York:John Wiley & Sons,Inc,2003. 被引量:1
  • 10Rational Rose@.Using the rose extensibility interface.http://www.cs.rhul.ac.uk/CompSci/Computers/rational/pdf/rose_REI_guide/Rose_REI_guide.pdf,2001. 被引量:1

同被引文献72

引证文献13

二级引证文献26

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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