首页> 外文会议>European Dependable Computing Conference >Regression Test Selection for Testable Classes
【24h】

Regression Test Selection for Testable Classes

机译:用于可测试类的回归测试选择

获取原文

摘要

A reusable class must be tested many times: each time modifications are applied to it or its base classes; when a subclass is created, in which case the inherited and redefined features must be retested in the new context. Therefore, a class should be easy to test, specifically for test execution and results analysis, since these activities must be repeated often. Inspired by R. Binder's self-testing class concept we defined, in a previous work, a testable class as a 3-tuple: class implementation, class behavior model and built-in test (BIT) mechanisms. In this work we present how to use this information when a class is changed. Regression testing is necessary each time a software is changed, to assure that the modifications do not adversely affect the unchanged parts. It is assumed that the test suite applied when testing the old version is available for reuse. However, test suites can be large and require too much effort to be reapplied in their totality. In such cases, a subset of the tests must be selected. This selection usually requires extra information besides the source code. This work aims at answering the following question: how to use test information contained in a testable class to do regression testing? The answer involves, among other aspects, the definition of an approach to select tests for reuse. The approach can be fully automated and does not need the source code for regression-test selection.
机译:必须多次测试可重复使用的类:每次修改都会应用于它或其基类;创建子类时,在这种情况下,必须在新上下文中重新定义和重新定义功能。因此,一个类应该易于测试,专门用于测试执行和结果分析,因为必须经常重复这些活动。灵感来自R.Binder的自我测试类概念我们定义,在上一个工作中,可测试的类作为3元组:类实现,类行为模型和内置测试(位)机制。在这项工作中,我们介绍了如何在更改类时使用此信息。每次改变软件时都需要回归测试,以确保修改不会对不变的部分产生不利影响。假设在测试旧版本时应用的测试套件可用于重用。然而,测试套房可能很大,需要太多努力,以便在他们的整体中重新删除。在这种情况下,必须选择测试的子集。除源代码之外,此选择通常需要额外的信息。这项工作旨在回答以下问题:如何使用可测试类中包含的测试信息进行回归测试?在其他方面,答案涉及选择重用测试的方法的定义。该方法可以完全自动化,不需要回归测试选择的源代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号