Sökning: onr:"swepub:oai:research.chalmers.se:13dafc05-41ab-479c-b55c-e50efe1a3dec" >
Beginner's luck: a ...
-
Lampropoulos, LeonidasUniversity of Pennsylvania
(författare)
Beginner's luck: a language for property-based generators
- Artikel/kapitelEngelska2017
Förlag, utgivningsår, omfång ...
-
2017-01
-
New York, NY, USA :ACM,2017
Nummerbeteckningar
-
LIBRIS-ID:oai:research.chalmers.se:13dafc05-41ab-479c-b55c-e50efe1a3dec
-
https://research.chalmers.se/publication/247987URI
-
https://doi.org/10.1145/3009837.3009868DOI
Kompletterande språkuppgifter
-
Språk:engelska
-
Sammanfattning på:engelska
Ingår i deldatabas
Klassifikation
-
Ämneskategori:kon swepub-publicationtype
-
Ämneskategori:ref swepub-contenttype
Anmärkningar
-
Property-based random testing a la QuickCheck requires building efficient generators for well-distributed random data satisfying complex logical predicates, but writing these generators can be difficult and error prone. We propose a domain-specific language in which generators are conveniently expressed by decorating predicates with lightweight annotations to control both the distribution of generated values and the amount of constraint solving that happens before each variable is instantiated. This language, called Luck, makes generators easier to write, read, and maintain. We give Luck a formal semantics and prove several fundamental properties, including the soundness and completeness of random generation with respect to a standard predicate semantics. We evaluate Luck on common examples from the property-based testing literature and on two significant case studies, showing that it can be used in complex domains with comparable bug-finding effectiveness and a significant reduction in testing code size compared to handwritten generators.
Ämnesord och genrebeteckningar
Biuppslag (personer, institutioner, konferenser, titlar ...)
-
Gallois-Wong, DianeEcole Normale Superieure (ENS),Institut National de Recherche en Informatique et en Automatique (INRIA)
(författare)
-
Hritcu, CatalinInstitut National de Recherche en Informatique et en Automatique (INRIA)
(författare)
-
Hughes, John,1958Chalmers tekniska högskola,Chalmers University of Technology(Swepub:cth)rjmh
(författare)
-
Pierce, Benjamin C.University of Pennsylvania
(författare)
-
Xia, Li-yaoInstitut National de Recherche en Informatique et en Automatique (INRIA),Ecole Normale Superieure (ENS)
(författare)
-
University of PennsylvaniaEcole Normale Superieure (ENS)
(creator_code:org_t)
Sammanhörande titlar
-
Ingår i:SIGPLAN Notices (ACM Special Interest Group on Programming Languages)New York, NY, USA : ACM52:1, s. 114-1290730-8566
Internetlänk
Hitta via bibliotek
Till lärosätets databas