Passer à la navigation principale Passer à la recherche Passer au contenu principal

Property-based testing via proof reconstruction

  • Inria Paris
  • INRIA
  • University of Milano

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collection › Contribution à une conférence › Revue par des pairs

2 Citations (Scopus)

Résumé

Property-based testing (PBT) is a technique for validating code against an executable specification by automatically generating test-data. We present a proof-theoretical reconstruction of this style of testing for relational specifications and employ the Foundational Proof Certificate framework to describe test generators. We do this by presenting certain kinds of "proof outlines" that can be used to describe various common generation strategies in the PBT literature, ranging from random to exhaustive, including their combination. We also address the shrinking of counterexamples as a first step towards their explanation. Once generation is accomplished, the testing phase boils down to a standard logic programming search. After illustrating our techniques on simple, first-order (algebraic) data structures, we lift it to data structures containing bindings using λ-tree syntax. The λProlog programming language is capable of performing both the generation and checking of tests. We validate this approach by tackling benchmarks in the metatheory of programming languages coming from related tools such as PLT-Redex.

langue originaleAnglais
titreProceedings of the 21st International Symposium on Principles and Practice of Declarative Programming, PPDP 2019
EditeurAssociation for Computing Machinery
ISBN (Electronique)9781450372497
Les DOIs
étatPublié - 7 oct. 2019
Modification externeOui
Evénement21st International Symposium on Principles and Practice of Declarative Programming, PPDP 2019 - Porto, Portugal
Durée: 7 oct. 2019 → 9 oct. 2019

Série de publications

NomACM International Conference Proceeding Series

Une conférence

Une conférence21st International Symposium on Principles and Practice of Declarative Programming, PPDP 2019
Pays/TerritoirePortugal
La villePorto
période7/10/19 → 9/10/19

Empreinte digitale

Examiner les sujets de recherche de « Property-based testing via proof reconstruction ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation