mlsanityData to 7 Oct 2026

Unit Testing in ASP Revisited: Language and Test-Driven Development Environment

arXiv 2401.02153 ↗First posted 4 Jan 2024cs.SE cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

Unit testing frameworks are nowadays considered a best practice, included in almost all modern software development processes, to achieve rapid development of correct specifications. Knowledge representation and reasoning paradigms such as Answer Set Programming (ASP), that have been used in industry-level applications, are not an exception. Indeed, the first unit testing specification language for ASP was proposed in 2011 as a feature of the ASPIDE development environment. Later, a more portable unit testing language was included in the LANA annotation language. In this paper we revisit both languages and tools for unit testing in ASP. We propose a new unit test specification language that allows one to inline tests within ASP programs, and we identify the computational complexity of the tasks associated with checking the various program-correctness assertions. Test-case specifications are transparent to the traditional evaluation, but can be interpreted by a specific testing tool. Thus, we present a novel environment supporting test driven development of ASP programs.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 10 of its 52 references that are in the map. First posted on arXiv 4 Jan 2024.

Builds on

10 of 52 references.

References · 10

  1. 2017Multi-shot ASP solving with clingocited by 115
  2. 2019ASP-Core-2 Input Language Formatcited by 77
  3. 2017Clingcon: The Next Generationcited by 15
  4. 2020Verifying Tight Logic Programs with anthem and Vampirecited by 13
  5. 2019The Seventh Answer Set Programming Competition: Design and Resultscited by 11
  6. 2021Rushing and Strolling among Answer Sets -- Navigation Made Easycited by 9
  7. 2014Modularity Aspects of Disjunctive Stable Modelscited by 8
  8. 2019SMT-based Constraint Answer Set Solver EZSMT+cited by 6
  9. 2023First-Order Stable Model Semantics with Intensional Functionscited by 3
  10. 2016Counting Answer Sets via Dynamic Programmingcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.