Random vs. structure-based testing of answer-set programs: An experimental comparisonShow others and affiliations
2011 (English)In: Logic Programming and Nonmonotonic Reasoning: 11th International Conference, LPNMR 2011, Vancouver, Canada, May 16-19, 2011, Proceedings / [ed] J. P. Delgrande & W. Faber, Springer, 2011, p. 242-247Conference paper, Published paper (Refereed)
Abstract [en]
Answer-set programming (ASP) is an established paradigm for declarative problem solving, yet comparably little work on testing of answer-set programs has been done so far. In a recent paper, foundations for structure-based testing of answer-set programs building on a number of coverage notions have been proposed. In this paper, we develop a framework for testing answer-set programs based on this work and study how good the structure-based approach to test input generation is compared to random test input generation. The results indicate that random testing is quite ineffective for some benchmarks, while structure-based techniques catch faults with a high rate more consistently also in these cases.
Place, publisher, year, edition, pages
Springer, 2011. p. 242-247
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 6645
Keywords [en]
answer-set programming, random testing, structure-based testing, Experimental comparison, High rate, Random tests, Structure-based, Test inputs, Answer set, Answer set programming, Declarative problem solving, Logic programming, Knowledge representation, Computer circuits, Computer programming, Problem solving
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-63579DOI: 10.1007/978-3-642-20895-9_26Scopus ID: 2-s2.0-79955750099ISBN: 9783642208942 (print)OAI: oai:DiVA.org:hj-63579DiVA, id: diva2:1838371
Conference
11th International Conference, LPNMR 2011, Vancouver, Canada, May 16-19, 2011
2024-02-162024-02-162024-02-16Bibliographically approved