SwePub
Sök i LIBRIS databas

  Extended search

WFRF:(Gallois Wong Diane)
 

Search: WFRF:(Gallois Wong Diane) > Beginner's luck: a ...

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Beginner's luck: a language for property-based generators

Lampropoulos, Leonidas (author)
University of Pennsylvania
Gallois-Wong, Diane (author)
Ecole Normale Superieure (ENS),Institut National de Recherche en Informatique et en Automatique (INRIA)
Hritcu, Catalin (author)
Institut National de Recherche en Informatique et en Automatique (INRIA)
show more...
Hughes, John, 1958 (author)
Chalmers tekniska högskola,Chalmers University of Technology
Pierce, Benjamin C. (author)
University of Pennsylvania
Xia, Li-yao (author)
Institut National de Recherche en Informatique et en Automatique (INRIA),Ecole Normale Superieure (ENS)
show less...
 (creator_code:org_t)
2017-01
2017
English.
In: SIGPLAN Notices (ACM Special Interest Group on Programming Languages). - New York, NY, USA : ACM. - 0730-8566. ; 52:1, s. 114-129
  • Conference paper (peer-reviewed)
Abstract Subject headings
Close  
  • 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.

Subject headings

NATURVETENSKAP  -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Software Engineering (hsv//eng)
NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)

Keyword

constraint solving
random testing
property-based testing
domain specific language
narrowing

Publication and Content Type

kon (subject category)
ref (subject category)

Find in a library

To the university's database

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view