Abstract | ||
---|---|---|
Quick Check is a tool which aids the Haskell programmer in formulating and testing properties of programs. Properties are described as Haskell functions, and can be automatically tested on random input, but it is also possible to define custom test data generators. We present a number of case studies, in which the tool was successfully used, and also point out some pitfalls to avoid. Random testing is especially suitable for functional programs because properties can be stated at a fine grain. When a function is built from separately tested components, then random testing suffices to obtain good coverage of the definition under test. |
Year | DOI | Venue |
---|---|---|
2000 | 10.1145/1988042.1988046 | International Conference on Functional Programming |
Keywords | Field | DocType |
good coverage,fine grain,random testing suffuces,functional program,Haskell function,random testing,lightweight tool,random input,case study,custom test data generator,Haskell programmer | Programming language,Random testing,Programmer,Functional programming,Computer science,Boilerplate code,Haskell,Test data,Declarative programming,Program testing | Conference |
Volume | Issue | ISSN |
46 | 4 | 0362-1340 |
ISBN | Citations | PageRank |
1-58113-202-6 | 512 | 26.07 |
References | Authors | |
13 | 2 |
Name | Order | Citations | PageRank |
---|---|---|---|
Koen Claessen | 1 | 1468 | 96.88 |
John Hughes | 2 | 1573 | 174.22 |