首页> 外文学位 >A genetic algorithm to devise test case sequences based on a state machine diagram and data flow information.
【24h】

A genetic algorithm to devise test case sequences based on a state machine diagram and data flow information.

机译:一种基于状态机图和数据流信息设计测试用例序列的遗传算法。

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

摘要

Recently, a lots of research attention has been paid to Model-Based Testing, in which test cases are derived from the whole or a part of a model that describes static and dynamical behaviors of a system. State-Based Testing is one of the most important research topics in Model-Based Testing. The objective of this work is to research a new state-based testing approach to help software testers detect defects in implementing software systems as early as possible. To this end, the test cases are derived from a UML state machine diagram, the output of the design phase of a typical lifecycle of software development. In this work, we apply a Genetic Algorithm (GA) to select and prioritize these test cases in sequences to satisfy different user constraints such as time and coverage. In particular, the GA is expected to generate test case sequences that increase their cumulative coverage of data flow information contained in operation contracts as quickly as possible. To evaluate the usefulness of our approach, GA-generated test case sequences were compared with randomly-generated test case sequences in terms of data flow coverage and mutant effectiveness. The experimental results demonstrates that the GA-based approach is useful and effective for creating test case sequences to detect defects based on different user constraints.
机译:近来,基于模型的测试引起了很多研究关注,其中,测试用例是从描述系统的静态和动态行为的整个或部分模型中得出的。基于状态的测试是基于模型的测试中最重要的研究主题之一。这项工作的目的是研究一种新的基于状态的测试方法,以帮助软件测试人员尽早发现实施软件系统中的缺陷。为此,测试用例是从UML状态机图得出的,该图是软件开发的典型生命周期的设计阶段的输出。在这项工作中,我们应用遗传算法(GA)来依次选择这些测试案例并确定其优先级,以满足不同的用户约束,例如时间和覆盖范围。特别是,预计GA将生成测试用例序列,以尽快增加其对操作合同中包含的数据流信息的累积覆盖范围。为了评估我们方法的有效性,将GA生成的测试用例序列与随机生成的测试用例序列进行了数据流覆盖和突变有效性方面的比较。实验结果表明,基于GA的方法对于创建测试用例序列以基于不同的用户约束来检测缺陷是有用且有效的。

著录项

  • 作者

    Chen, Hongyan.;

  • 作者单位

    Carleton University (Canada).;

  • 授予单位 Carleton University (Canada).;
  • 学科 Engineering Computer.;Engineering Electronics and Electrical.
  • 学位 M.A.Sc.
  • 年度 2009
  • 页码 186 p.
  • 总页数 186
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号