kirancodes.me
To Proof Maintenance & Beyond!

A specification-based approach to testing software product lines

Engin Uzuncaova, Daniel Garcia, Sarfraz Khurshid, Don S. Batory

Abstract

This paper presents a specification-based approach for systematic testing of products from a software product line. Our approach uses specifications given as formulas in Alloy, a first-order logic based on relations. Alloy formulas can be checked for satisfiability using the Alloy Analyzer. The fully automatic analyzer, given an Alloy formula and a scope, i.e., a bound on the universe of discourse, searches for an instance, i.e., a valuation to the relations in the formula such that it evaluates to true. The analyzer translates an Alloy formula (for the given scope) to a propositional formula and finds an instance using an off-the-shelf SAT solver. The use of an enumerating solver enables systematic test generation.

BibTeX
@inproceedings{Uzuncaova-al:FSE07,
  author    = {Engin Uzuncaova and
               Daniel Garcia and
               Sarfraz Khurshid and
               Don S. Batory},
  title     = {A specification-based approach to testing software product lines},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {525--528},
  publisher = {{ACM}},
  year      = {2007},
}

Related papers