2008
DOI: 10.1145/1543134.1411292
|View full text |Cite
|
Sign up to set email alerts
|

Smallcheck and lazy smallcheck

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 bot… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4

Citation Types

0
3
0

Year Published

2010
2010
2020
2020

Publication Types

Select...
7
2

Relationship

0
9

Authors

Journals

citations
Cited by 25 publications
(4 citation statements)
references
References 9 publications
0
3
0
Order By: Relevance
“…There are many variants of QuickCheck, such as [16] and [5]. Those test tools are based on logical properties and generate test cases based on the property to test.…”
Section: Related Workmentioning
confidence: 99%
“…There are many variants of QuickCheck, such as [16] and [5]. Those test tools are based on logical properties and generate test cases based on the property to test.…”
Section: Related Workmentioning
confidence: 99%
“…Good initialization abstracts over aggregates (allowing the user to declare one array, rather than many individual variables), and chooses good representations that minimize the problems to be solved. My approach to initialization was strongly influenced by the small check system [21] (which uses a type-based system to generate all "small" values of a given type) , and by conversations with Emina Torlak. Emina taught me the bounding trick for finite set initialization, and the importance of using symmetry in initialization.…”
Section: Related Workmentioning
confidence: 99%
“…Smallcheck [18] extends the idea behind QuickCheck by generating all the possible test inputs up to a certain depth in the type tree instead of just random ones. QuickCheck and SmallCheck are restricted to testing Haskell programs only.…”
Section: Related Workmentioning
confidence: 99%