首页 | 本学科首页   官方微博 | 高级检索  
     

基于UML的Web应用建模与测试方法
引用本文:李丽萍,缪淮扣,钱忠胜.基于UML的Web应用建模与测试方法[J].计算机工程,2010,36(9):26-28,3.
作者姓名:李丽萍  缪淮扣  钱忠胜
作者单位:(1. 上海第二工业大学计算机与信息学院,上海 201209;2. 上海大学计算机工程与科学学院,上海 200072; 3. 江西财经大学信息管理学院,南昌 330013)
摘    要:针对Web应用的功能测试问题,提出一种基于用例和顺序图的Web应用建模与测试方法。使用统一建模语言(UML)将用例图分层地扩展为用例迁移模型(UCTM),利用顺序图自上而下描述UCTM中的每个用例,将顺序图自动转换为受限有向图(RDG)。为控制状态空间爆炸,提出约束消息覆盖准则(CMC)。结果表明,由RDG生成的测试用例能满足CMC,CMC可控制测试用例的数量。

关 键 词:Web应用  顺序图  构件  测试用例  约束消息覆盖准则

UML-based Web Application Modeling and Test Method
LI Li-ping,MIAO Huai-kou,QIAN Zhong-sheng.UML-based Web Application Modeling and Test Method[J].Computer Engineering,2010,36(9):26-28,3.
Authors:LI Li-ping  MIAO Huai-kou  QIAN Zhong-sheng
Affiliation:(1. Institute of Computer and Information, Shanghai Second Polytechnic University, Shanghai 201209; 2. School of Computer Engineering and Science, Shanghai University, Shanghai 200072; 3. School of Information Management, Jiangxi University of Finance & Economics, Nanchang 330013)
Abstract:Aiming at the function test problem of Web application, this paper proposes a Web application modeling and test method based on use case and sequence diagram. It extends use case diagram hierarchically into Use Case Transition Model (UCTM) by Unified Modeling Language (UML). Each use case of UCTM is described by sequence diagram, which can be converted automatically into a Restricted Directed Graph(RDG). In order to control status space explosion, it proposes a piece of Constraint Message Coverage criterion(CMC), test case generated from RDG can satisfy CMC, and CMC can control the number of test case.
Keywords:Web application  sequence diagram  component  test use case  Constraint Message Coverage criterion(CMC)
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号