QuickCheck
Koen Claessen, John Hughes · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 2000
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.
Cited by 747 works. doi:10.1145/351240.351266
Authors
References
- Lecture Notes in Computer Science 1205
- A Computing Procedure for Quantification Theory
- An Evaluation of Random Testing
- Designing programs that check their work
- Self-testing/correcting with applications to numerical problems
- Software unit test coverage and adequacy
- Partition testing does not inspire confidence (program testing)
- Encyclopedia of software engineering
- Theorems for free!
- Data Abstraction, Implementation, Specification, and Testing