跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2401.02153 (cs)
[提交于 2025年1月22日]

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

作者:Giovanni Amendola, Tobias Berei, Giuseppe Mazzotta, Francesco Ricca
查看论文《Unit Testing in ASP Revisited: Language and Test-Driven Development Environment》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)
引用方式: arXiv:2401.02153 [cs.SE]
  (或者 arXiv:2401.02153v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2401.02153
期刊参考: Theory and Practice of Logic Programming 24 (2024) 1078-1108
相关 DOI: https://doi.org/10.1017/S1471068424000103

提交历史

来自:Giuseppe Mazzotta
[v1] 2025年1月22日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-01
切换浏览方式为:
cs
cs.AI

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站