QuickCheck: a lightweight tool for random testing of Haskell programs
The DOI matches its Crossref record; 16 of the 16 references it cites were found in a registry or an index.
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.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“For example, P16 wanted to set up property-based testing [Claessen and Hughes 2000] to run automatically on Copilot suggestions.”
From Grounded Copilot: How Programmers Interact with Code-Generating Models (2023) · cites this paper as Claessen and Hughes 2000
In the citing paper
“We also perform property-based testing (PBT) of the Rust code directly (in the style of QuickCheck [8]) when there is no corresponding Lean model.”
From How We Built Cedar: A Verification-Guided Approach (2024) · cites this paper as [8]
Citations
Cites
Lecture Notes in Computer Science 1205
(1999) · Industrial Robot: An International Journal · doi:10.1108/ir.1999.04926fae.001 · Cited by 38,662
A Computing Procedure for Quantification Theory
Davis, M., & Putnam, H. (1960) · Journal of the ACM · doi:10.1145/321033.321034 · Cited by 2,647
Software unit test coverage and adequacy
Zhu, H., Hall, P. A. V., & May, J. H. R. (1997) · ACM Computing Surveys · doi:10.1145/267580.267590 · Cited by 1,247 · cited 1×
“A wide variety of adequacy critera have been proposed; a recent survey is [19].”
BackgroundWadler, P. L. (1989) · International Conference on Functional Programming Languages and Computer Architecture (FPCA) · doi:10.1145/99370.99404 · Cited by 923 · cited 1×
“For example, + is associative for the type Int, but not for Double! In some cases, we can use parametricity [17] to argue that a property holds polymorphically.”
MethodAn Evaluation of Random Testing
Duran, J. W., & Ntafos, S. C. (1984) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1984.5010257 · Cited by 730 · cited 1×
“In 1984, Duran and Ntafos compared the fault detection probability of random testing with partition testing, and discovered that the di erences in e ectiveness were small [9].”
BackgroundEncyclopedia of software engineering
(1994) · Choice Reviews Online · doi:10.5860/choice.32-0639 · Cited by 707
Lava: hardware design in Haskell
Bjesse, P., Claessen, K., Sheeran, M., & Singh, S. (1998) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/289423.289440 · Cited by 416 · cited 1×
“Lava [3, 7] is a tool to describe, simulate and formally verify hardware.”
MethodSelf-citationPartition testing does not inspire confidence (program testing)
Hamlet, D., & Taylor, R. (1990) · IEEE Transactions on Software Engineering · doi:10.1109/32.62448 · Cited by 400
Self-testing/correcting with applications to numerical problems
Blum, M., Luby, M., & Rubinfeld, R. (1990) · Proceedings of the twenty-second annual ACM symposium on Theory of computing - STOC '90 · doi:10.1145/100216.100225 · Cited by 303 · cited 1×
“showed how programs which usually produce correct answers can even correct wrong output [5] (in particular domains).”
BackgroundDesigning programs that check their work
Blum, M., & Kanna, S. (1989) · Proceedings of the twenty-first annual ACM symposium on Theory of computing - STOC '89 · doi:10.1145/73007.73015 · Cited by 287 · cited 1×
“Blum and Kannan exploit this in their work on resultchecking [4]: a program checker is de ned to be another program which classi es the program's output as correct or buggy, with a high probability of classifying correctly, and does so with strictly lower complexity.”
Background
Research works printed but not linked: 4
- 10.5555/119830.119832 · doi:10.5555/119830.119832
- M. P. Jones . The Hugs distribution. Currently available from http://haskell.org/hugs , 1999 .]] M. P. Jones. The Hugs distribution. Currently available from http://haskell.org/hugs, 1999.]]
- Gunnar Stalmarck . A System for Determining Propositional Logic Theorems by Applying Values and Rules to Triplets that are Generated from a Formula , 1989 . Swedish Patent No. 467 076 (approved 1992), U.S. Patent No. 5 276 897 (1994), European Patent No . 0403 454 (1995).]] Gunnar Stalmarck. A System for Determining Propositional Logic Theorems by Applying Values and Rules to Triplets that are Generated from a Formula, 1989. Swedish Patent No. 467 076 (approved 1992), U.S. Patent No. 5 276 897 (1994), European Patent No. 0403 454 (1995).]]
- Philip Wadler . A prettier printer , March 1998 . Draft paper.]] Philip Wadler. A prettier printer, March 1998. Draft paper.]]
Cited by
Items 1,001–1,001 of 1,001
Coherence in distributed packet filters
Penz, L. L. (2008) · Lume (Universidade Federal do Rio Grande do Sul)
Metadata
- Authors
- Claessen, K., & Hughes, J.
- Affiliations
- Chalmers University of Technology (SE)
- Venue
- Proceedings of the fifth ACM SIGPLAN international conference on Functional programming
- Publisher
- ACM
- Published
- 2000-09
- Pages
- 268-279
- OpenAlex
- W4244488020
- Semantic Scholar
- 75d28729e96691eb85ae2b34e791473a24062ce5
- Cited by
- 753
- References
- 16
- Citations by year
- 2026: 51 · 2025: 40 · 2024: 40 · 2023: 45 · 2022: 45 · 2021: 30 · 2020: 40 · 2019: 30 · 2018: 41 · 2017: 43 · 2016: 39 · 2015: 36 · 2014: 42 · 2013: 27 · 2012: 29
- FWCI
- 3.84
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN International Conference on Functional Programming (ICFP) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Software › Logic, programming, and type systems
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Formal Methods in Verification
- Keywords
- QuickCheck, Haskell, random testing, property-based testing, functional programs, program verification, test data generation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.