Lightweight automated testing with adaptation-based programming

Alex Groce, Alan Fern, Jervis Pinto, Tim Bauer, Amin Alipour, Martin Erwig, Camden Lopez

Research output: Chapter in Book/Report/Conference proceedingConference contribution

21 Scopus citations

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.

Original languageEnglish (US)
Title of host publicationProceedings - 2012 IEEE 23rd International Symposium on Software Reliability Engineering, ISSRE 2012
Pages161-170
Number of pages10
DOIs
StatePublished - 2012
Externally publishedYes
Event2012 IEEE 23rd International Symposium on Software Reliability Engineering, ISSRE 2012 - Dallas, TX, United States
Duration: Nov 27 2012Nov 30 2012

Publication series

NameProceedings - International Symposium on Software Reliability Engineering, ISSRE
ISSN (Print)1071-9458

Conference

Conference2012 IEEE 23rd International Symposium on Software Reliability Engineering, ISSRE 2012
Country/TerritoryUnited States
CityDallas, TX
Period11/27/1211/30/12

Keywords

  • Reinforcement learning
  • Software testing

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Lightweight automated testing with adaptation-based programming'. Together they form a unique fingerprint.

Cite this