Publication | Closed Access
QuickCheck
704
Citations
13
References
2000
Year
Unknown Venue
Program CheckingEngineeringHaskell ProgrammerVerificationTest Data GenerationSoftware EngineeringSoftware AnalysisFormal VerificationQuick CheckComputer EngineeringComputer ScienceFunctional Programming LanguageFunctional ProgrammingProgram AnalysisAutomated ReasoningSoftware TestingFormal MethodsSymbolic ExecutionCase Studies
QuickCheck assists Haskell programmers in formulating and testing program properties, leveraging random testing that is well suited to functional programs and provides fine‑grained coverage, especially when functions are composed of separately tested components. The authors present case studies demonstrating QuickCheck’s successful application. QuickCheck defines properties as Haskell functions that are automatically tested on random inputs, with optional custom test data generators. They also highlight pitfalls to avoid.
QuickCheck is a tool which aids the Haskell programmer in formulating and testing properties of programs. Properties are discribed 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 suffuces to obtain good coverage of the definition under test.
| Year | Citations | |
|---|---|---|
Page 1
Page 1