计算机应用 ›› 2010, Vol. 30 ›› Issue (9): 2365-2369.

• 软件过程技术 • 上一篇    下一篇

活动图模型驱动的Web应用程序测试方法

何可,李晓红,冯志勇   

  1. 天津大学计算机科学与技术学院
  • 收稿日期:2010-03-17 修回日期:2010-04-17 发布日期:2010-09-03 出版日期:2010-09-01
  • 通讯作者: 何可
  • 基金资助:
    国家自然科学基金;国家高技术研究发展计划(863)

Approach to activity diagram model driven testing for Web applications

  • Received:2010-03-17 Revised:2010-04-17 Online:2010-09-03 Published:2010-09-01
  • Contact: Ke He

摘要: 提出了一种活动图(AD)模型驱动的Web应用程序测试方法,从活动图中生成满足往返路径覆盖准则的测试序列,基于测试输入语法生成驱动测试序列执行的测试数据,将测试数据整合到测试序列中生成测试用例,运行测试用例进行测试并生成测试结果的报告。实现了一个原型工具以支持活动图模型驱动的Web应用程序测试方法,设计并完成了一个实验,验证了该方法的可行性与有效性。

关键词: 统一建模语言, 活动图, Web应用程序测试, 模型驱动的测试

Abstract: A testing method driven by Activity Diagram (AD) model for Web applications was proposed. This approach generated test sequences from activity diagrams that satisfied round-trip coverage criteria, generated test data that drive the execution of test sequences based on test input syntax, integrated test data to test sequences for test case generation, ran the test cases for Web application testing, and reported the test results. A prototype tool that supported the proposed approach was implemented. An experiment has been carried out to validate the feasibility and effectiveness of the presented approach.

Key words: Unified Modeling Language (UML), Activity Diagram (AD), Web application testing, model driven testing

中图分类号: