Home // International Journal On Advances in Software, volume 5, numbers 3 and 4, 2012 // View article


Event-Sequence Testing using Answer-Set Programming

Authors:
Martin Brain
Esra Erdem
Katsumi Inoue
Johannes Oetsch
Jörg Pührer
Hans Tompits
Cemal Yilmaz

Keywords: event-sequence testing; complexity analysis; combinatorial interaction testing; answer-set programming

Abstract:
In many applications, faults are triggered by events that occur in a particular order. In fact, many bugs are caused by the interaction of only a low number of such events. Based on this assumption, sequence covering arrays (SCAs) have recently been proposed as suitable designs for event sequence testing. In practice, directly applying SCAs for testing is often impaired by additional constraints, and SCAs have to be adapted to fit application-specific needs. Modifying precomputed SCAs to account for problem variations can be problematic, if not impossible, and developing dedicated algorithms is costly. In this article, we propose answer-set programming (ASP), a well-known knowledge-representation formalism from the area of artificial intelligence based on logic programming, as a declarative paradigm for computing SCAs. Our approach allows to concisely state complex coverage criteria in an elaboration tolerant way, i.e., small variations of a problem specification require only small modifications of the ASP representation. Employing ASP for computing SCAs is further justified by new complexity results related to event-sequence testing that are established in this work.

Pages: 237 to 251

Copyright: Copyright (c) to authors, 2012. Used with permission.

Publication date: December 31, 2012

Published in: journal

ISSN: 1942-2628