OREGON STATE UNIVERSITY

You are here

Lightweight Automated Testing with Adaptation-Based Programming

TitleLightweight Automated Testing with Adaptation-Based Programming
Publication TypeConference Paper
Year of Publication2012
AuthorsGroce, A., A. Fern, J. Pinto, T. Bauer, A. Alipour, M. Erwig, and C. Lopez
Conference NameIEEE 23rd International Symposium on Software Reliability Engineering (ISSRE)
Pagination161 - 170
Date Published11/2012
PublisherIEEE
Conference LocationDallas, TX
ISBN Number978-0-7695-4888-3
Abstract

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.

DOI10.1109/ISSRE.2012.1