PrologCheck - Property-Based Testing in Prolog

dc.contributor.author Amaral,C en
dc.contributor.author Florido,M en
dc.contributor.author Vítor Santos Costa en
dc.date.accessioned 2018-01-19T01:33:28Z
dc.date.available 2018-01-19T01:33:28Z
dc.date.issued 2014 en
dc.description.abstract We present PrologCheck, an automatic tool for property-based testing of programs in the logic programming language Prolog with randomised test data generation. The tool is inspired by the well known QuickCheck, originally designed for the functional programming language Haskell. It includes features that deal with specific characteristics of Prolog such as its relational nature (as opposed to Haskell) and the absence of a strong type discipline. PrologCheck expressiveness stems from describing properties as Prolog goals. It enables the definition of custom test data generators for random testing tailored for the property to be tested. Further, it allows the use of a predicate specification language that supports types, modes and constraints on the number of successful computations. We evaluate our tool on a number of examples and apply it successfully to debug a Prolog library for AVL search trees. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/7035
dc.identifier.uri http://dx.doi.org/10.1007/978-3-319-07151-0_1 en
dc.language eng en
dc.relation 5129 en
dc.rights info:eu-repo/semantics/openAccess en
dc.title PrologCheck - Property-Based Testing in Prolog en
dc.type conferenceObject en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-009-MKK.pdf
Size:
246.43 KB
Format:
Adobe Portable Document Format
Description: