On the Small-Scope Hypothesis for Testing Answer-Set Programs
Oetsch, Johannes (Vienna University of Technology) | Prischink, Michael (Vienna University of Technology) | Pührer, Jörg (Vienna University of Technology) | Schwengerer, Martin (Vienna University of Technology) | Tompits, Hans (Vienna University of Technology)
In software testing, the small-scope hypothesis states that a high proportion of errors can be found by testing a program for all test inputs within some small scope. In this paper, we evaluate the small-scope hypothesis for answer-set programming (ASP). To this end, we follow work in traditional testing and base our evaluation on mutation analysis. In fact, we show that a rather limited scope is sufficient for testing ASP encodings from a representative set of benchmark problems. Our experimental evaluation facilitates effective methods for testing in ASP. Also, it gives some justification to analyse programs at the propositional level after grounding them over a small domain.
Feb-8-2012
- Country:
- Genre:
- Research Report (0.46)
- Technology: