首页> 外文学位 >A systematic approach to testing UML designs.
【24h】

A systematic approach to testing UML designs.

机译:一种测试UML设计的系统方法。

获取原文
获取原文并翻译 | 示例

摘要

In Model Driven Engineering (MDE) approaches, developers create and refine design models from which substantial portions of implementations are generated. During refinement, undetected faults in an abstract model can traverse into the refined models, and eventually into code. Hence, finding and removing faults in design models is essential for MDE approaches to succeed.; This dissertation describes a testing approach to finding faults in design models created using the Unified Modeling Language (UML). Executable forms of UML design models are exercised using generated test inputs that provide coverage with respect to UML-based coverage criteria. The UML designs that are tested consist of class diagrams, sequence diagrams and activity diagrams.; The contribution of the dissertation includes (1) a test input generation technique, (2) an approach to execute design models describing sequential behavior with test inputs in order to detect faults, and (3) a set of pilot studies that are carried out to explore the fault detection capability of our testing approach.; The test input generation technique involves analyzing design models under test to produce test inputs that satisfy UML sequence diagram coverage criteria. We defined a directed graph structure, named Variable Assignment Graph (VAG), to generate test inputs. The VAG combines information from class and sequence diagrams. Paths are selected from the VAG and constraints are identified to traverse the paths. The constraints are then solved with a constraint solver.; The model execution technique involves transforming each design under test into an executable form, which is exercised with the generated inputs. Failures are reported if the observed behavior differs from the expected behavior. We proposed an action language, named Java-like Action Language (JAL), that supports the UML action semantics. We developed a prototype tool, named UMLAnT, that performs test execution and animation of design models.; We performed pilot studies to evaluate the fault detection effectiveness of our approach. Mutation faults and commonly occurring faults in UML models created by students in our software engineering courses were seeded in three design models. Ninety percent of the seeded faults were detected using our approach.
机译:在模型驱动工程(MDE)方法中,开发人员可以创建和完善设计模型,并从中生成大部分实现。在细化期间,抽象模型中未检测到的故障会遍历到细化模型中,并最终进入代码中。因此,发现和消除设计模型中的错误对于MDE方法的成功至关重要。本文介绍了一种在使用统一建模语言(UML)创建的设计模型中查找故障的测试方法。使用生成的测试输入来行使UML设计模型的可执行形式,这些输入提供有关基于UML的覆盖范围标准的覆盖范围。被测试的UML设计包括类图,序列图和活动图。论文的贡献包括(1)测试输入生成技术;(2)执行描述测试行为的顺序行为的设计模型以检测故障的方法;以及(3)进行一系列试验研究以探索我们测试方法的故障检测能力。测试输入生成技术涉及分析被测设计模型,以产生满足UML序列图覆盖标准的测试输入。我们定义了一个有向图结构,称为变量赋值图(VAG),以生成测试输入。 VAG结合了来自类图和序列图的信息。从VAG中选择路径,并确定约束以遍历路径。然后用约束求解器求解约束。模型执行技术涉及将每个被测设计转换为可执行形式,并使用生成的输入来执行。如果观察到的行为与预期的行为不同,则报告失败。我们提出了一种动作语言,称为Java动作语言(JAL),它支持UML动作语义。我们开发了一个名为UMLAnT的原型工具,该工具可以执行测试执行和设计模型的动画处理。我们进行了初步研究,以评估我们方法的故障检测有效性。学生在我们的软件工程课程中创建的UML模型中的突变故障和常见故障被植入了三个设计模型中。使用我们的方法检测到90%的种子故障。

著录项

  • 作者

    Dinh-Trong, Trung T.;

  • 作者单位

    Colorado State University.;

  • 授予单位 Colorado State University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2007
  • 页码 119 p.
  • 总页数 119
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号