首页> 外文会议>Software Testing, Verification and Validation Workshops, 2009. ICSTW '09 >Automated Evaluation of Runtime Object States against Model-Level States for State-Based Test Execution
【24h】

Automated Evaluation of Runtime Object States against Model-Level States for State-Based Test Execution

机译:针对基于状态的测试执行,针对模型级状态自动评估运行时对象状态

获取原文

摘要

Evaluation of runtime object states against the model-level states defined in a state model is critical to state based test automation. This paper presents a state mapping framework to support the automated state-based test execution process. The framework automatically keeps track of runtime object states and maps these states to model-level abstract states. It also includes a comparator to determine whether or not a test is successful. This framework is implemented in the aspect-oriented programming language AspectJ. Therefore, the runtime instrumentation mechanism for state evaluation does not modify the source code under test (either in Java or AspectJ). This is an important advantage because otherwise all the changes made to the code for testing purposes have to be cancelled after testing. We have conducted several experiments to evaluate the framework by calculating and comparing the total consumed minutes of mapping states and checking the oracle in terms of manual and automated execution. The experiment results show that the mapping framework is much more effective and efficient than manual conversion.
机译:根据状态模型中定义的模型级别状态评估运行时对象状态对于基于状态的测试自动化至关重要。本文提出了一种状态映射框架,以支持基于状态的自动化测试执行过程。该框架自动跟踪运行时对象状态,并将这些状态映射到模型级抽象状态。它还包括一个比较器,用于确定测试是否成功。该框架是在面向方面的编程语言AspectJ中实现的。因此,用于状态评估的运行时检测机制不会修改被测源代码(在Java或AspectJ中)。这是一个重要的优点,因为否则必须在测试后取消对出于测试目的对代码所做的所有更改。我们已经进行了一些实验,通过计算和比较映射状态的总消耗分钟数并根据手动和自动执行检查预言来评估框架。实验结果表明,该映射框架比手动转换更加有效。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号