Paper record

W2029976661

Smallcheck and lazy smallcheck: automatic exhaustive testing for small values

Colin Runciman, Matthew F. Naylor, Fredrik Lindblad

Year
2008
Venue
International Symposium on Haskell
References
16
Cited by
203

Details and counts from OpenAlex.

Abstract

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.