SmallCheck and Lazy SmallCheck: automatic exhaustive testing for small values
Journal article, 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

Author

Fredrik Lindblad

Chalmers, Computer Science and Engineering (Chalmers)

Matthew Naylor

Colin Runciman

SIGPLAN Notices (ACM Special Interest Group on Programming Languages)

07308566 (ISSN)

Vol. 44 2 37-48

Subject Categories

Computer Science

More information

Created

10/7/2017