首页> 外文会议>IEEE International Symposium on Software Reliability Engineering >Lightweight Automated Testing with Adaptation-Based Programming
【24h】

Lightweight Automated Testing with Adaptation-Based Programming

机译:轻量级自动化测试,基于适应性编程

获取原文

摘要

This paper considers the problem of testing a container class or other modestly-complex API-based software system. Past experimental evaluations have shown that for many such modules, random testing and shape abstraction based model checking are effective. These approaches have proven attractive due to a combination of minimal requirements for tool/language support, extremely high usability, and low overhead. These "lightweight" methods are therefore available for almost any programming language or environment, in contrast to model checkers and concolic testers. Unfortunately, for the cases where random testing and shape abstraction perform poorly, there have been few alternatives available with such wide applicability. This paper presents a generalizable approach based on reinforcement learning (RL), using adaptation-based programming (ABP) as an interface to make RL-based testing (almost) as easy to apply and adaptable to new languages and environments as random testing. We show how learned tests differ from random ones, and propose a model for why RL works in this unusual (by RL standards) setting, in the context of a detailed large-scale experimental evaluation of lightweight automated testing methods.
机译:本文考虑了测试容器类或其他中等复杂度的基于API的软件系统的问题。过去的实验评估表明,对于许多这样的模块,随机测试和基于形状抽象的模型检查是有效的。由于结合了对工具/语言支持的最低要求,极高的可用性和较低的开销,这些方法已被证明具有吸引力。因此,这些“轻量级”方法几乎可用于任何编程语言或环境,这与模型检查器和condicolic测试器相反。不幸的是,对于随机测试和形状抽象效果不佳的情况,几乎没有其他方法可以提供如此广泛的适用性。本文提出了一种基于强化学习(RL)的通用方法,该方法使用基于适应的编程(ABP)作为界面,使基于RL的测试(几乎)像随机测试一样易于应用并适应新的语言和环境。我们将展示学习的测试与随机测试之间的区别,并针对轻量级自动测试方法的详细大规模实验评估,提出一个模型说明RL为什么在这种不寻常的情况下(按RL标准)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号