SmallCheck and Lazy SmallCheck: automatic exhaustive testing for small values
Artikel i vetenskaplig tidskrift, 2008

This paper describes two Haskell libraries for property-based testing. Following the lead of QuickCheck, these testing libraries SmallCheck and Lazy SmallCheck also use type-based generators to obtain test-sets of finite values for which properties are checked, and report any counter-examples found. But instead of using a sample of randomly generated values they test properties for all values up to some limiting depth, progressively increasing this limit. The paper explains the design and implementation of both libraries and evaluates them in comparison with each other and with QuickCheck.

Testing and Debugging

Applicative (Functional) Programming

Författare

Fredrik Lindblad

Chalmers, Data- och informationsteknik

Matthew Naylor

Colin Runciman

SIGPLAN Notices (ACM Special Interest Group on Programming Languages)

07308566 (ISSN)

Vol. 44 2 37-48

Ämneskategorier

Datavetenskap (datalogi)

Mer information

Skapat

2017-10-07