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 101–200 of 1,001
Investigating the Potential of GPT-3 in Providing Feedback for Programming Assessments
Balse, R., Valaboju, B., Singhal, S., Warriem, J. M., & Prasad, P. (2023) · Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education V. 1 · doi:10.1145/3587102.3588852 · Cited by 63
“Instead of manually providing test cases, tools such as Klee can automatically generate test cases from formal specifications of program’s expected behaviour [4, 6].”
MethodCopilot: monitoring embedded systems
Pike, L., Wegmann, N., Niller, S., & Goodloe, A. E. (2013) · Innovations in Systems and Software Engineering · doi:10.1007/s11334-013-0223-x · Cited by 62
“QuickCheck [14] is a library originally developed for Haskell such that given a property, it generates random inputs to test the property.”
BackgroundQuickly generating diverse valid test inputs with reinforcement learning
Reddy, S., Lemieux, C., Padhye, R., & Sen, K. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380399 · Cited by 62
“Popularized byQuickCheck [16], the method has grown thanks to implementations in many different languages [1, 2, 7, 8, 39], including prominent languages such as Python [3], JavaScript [4], and Java [26].”
BackgroundMethodInfluentialThe GUISurfer tool: towards a language independent approach to reverse engineering GUI code
Silva, J. C., Silva, C., Gonçalo, R. D., Saraiva, J., & Campos, J. C. (2010) · ACM SIGCHI Symposium on Engineering Interactive Computing Systems (EICS) · doi:10.1145/1822018.1822045 · Cited by 61
“QuickCheck [1] is a tool for the automated testing of Haskell programs.”
MethodIterative Refinement of Reverse-Engineered Models by Model-Based Testing
Walkinshaw, N., Derrick, J., & Guo, Q. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-05089-3_20 · Cited by 59
“QuickCheck One of these techniques is QuickCheck [3], an automated model-based testing tool for Erlang.”
MethodHow functional programming mattered
Hu, Z., Hughes, J., & Wang, M. (2015) · National Science Review · doi:10.1093/nsr/nwv042 · Cited by 59
Self-citationWhat are the Actual Flaws in Important Smart Contracts (And How Can We Find Them)?
Groce, A., Feist, J., Grieco, G., & Colburn, M. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-51280-4_34 · Cited by 59
Dependent-test-aware regression testing techniques
Lam, W., Shi, A., Oei, R., Zhang, S., Ernst, M. D., & Xie, T. (2020) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3395363.3397364 · Cited by 59
“Automated test generation tools [21, 22, 25, 53, 73] are attractive because they reduce developers’ testing”
BackgroundAsymptotic Improvement of Computations over Free Monads
Voigtländer, J. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-70594-9_20 · Cited by 59
Increasing Functional Coverage by Inductive Testing: A Case Study
Walkinshaw, N., Bogdanov, K., Derrick, J., & París, J. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-16573-3_10 · Cited by 58
“This distributed mechanism can be coupled with the powerful QuickCheck model-based testing infrastructure [22] (also described below), to provide a comprehensive network protocol testing framework.”
Learning Deep Semantics for Test Completion
Nie, P., Banerjee, R., Li, J. J., Mooney, R. J., & Gligoric, M. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00178 · Cited by 57
“Existing automatic test generation work includes fuzz/random testing [1]–[3], propertybased testing [4]–[10], search-based testing [11], [12], and combinatorial testing [13].”
MethodTesting Polymorphic Properties
Bernardy, J.-P., Jansson, P., & Claessen, K. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-11957-6_8 · Cited by 57
“QuickCheck As explained in the introduction, the standard way to test polymorphic functions in QuickCheck [7] is to substitute N for polymorphic parameters.”
MethodInfluentialSelf-citationTool support for randomized unit testing
Andrews, J. H., Haldar, S., Yong, L., & Li, F. C. H. (2006) · doi:10.1145/1145735.1145741 · Cited by 57
“The technique of randomized testing has long been known and has been applied to such diverse areas as compiler testing [26] and functional program testing [9].”
MethodFinding test data with specific properties via metaheuristic search
FELDT, R. H., & Poulding, S. (2013) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2013.6698888 · Cited by 56
Prototyping symbolic execution engines for interpreted languages
Bucur, Ș., Kinder, J., & Candea, G. (2014) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/2541940.2541977 · Cited by 56
“QuickCheck [10] allows writing specifications in Haskell, which again share their basic concept with symbolic tests, and tries to falsify them using random testing.”
BackgroundStochastic lambda calculus and monads of probability distributions
Ramsey, N. F., & Pfeffer, A. (2002) · ACM SIGPLAN Notices · doi:10.1145/565816.503288 · Cited by 56
Towards Understanding the Effectiveness of Large Language Models on Directed Test Input Generation
Jiang, Z., Wen, M., Cao, J., Shi, X., & Jin, H. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695513 · Cited by 57
Köksal, A. S., Kunčak, V., & Suter, P. (2012) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/2103656.2103675 · Cited by 55
“ScalaCheck is a tool for producing test cases using random test generation, similar to QuickCheck [13] for Haskell.”
MethodTesting monadic code with QuickCheck
Claessen, K., & Hughes, J. (2002) · International Symposium on Haskell · doi:10.1145/581690.581696 · Cited by 55
“QuickCheck [4] is an automated testing tool for Haskell programs.”
MethodSelf-citationCause Reduction for Quick Testing
Groce, A., Alipour, M. A., Zhang, C., Chen, Y., & Regehr, J. D. (2014) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2014.37 · Cited by 55
Targeted property-based testing
Löscher, A., & Sagonas, K. (2017) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3092703.3092711 · Cited by 54
“The idea of using a high-level language for writing properties and generators for property-based testing originated by the pioneering work of Claessen and Hughes [11] on the QuickCheck library for the lazy functional language Haskell back in 2000.”
BackgroundMethodPractical Implementation of a Dependently Typed Functional Programming Language
Brady, E. C. (2005) · Durham e-Theses (Durham University) · Cited by 56
EF↯CF: High Performance Smart Contract Fuzzing for Exploit Generation
Rodler, M., Paaßen, D., Li, W., Bernhard, L., Holz, T., Karame, G., & Davi, L. (2023) · IEEE European Symposium on Security and Privacy · doi:10.1109/eurosp57164.2023.00034 · Cited by 54
“In this sense, testing Ethereum smart contracts is a variant of testing stateful software, a highly challenging problem [1, 11, 30, 52, 60].”
Nighthawk: a two-level genetic-random unit test data generator
Andrews, J. H., Li, F. C. H., & Menzies, T. (2007) · doi:10.1145/1321631.1321654 · Cited by 53
“Many researchers [14] [2] [6] [31] [34] have performed randomized unit testing, sometimes combined with other tools such as model checkers.”
BackgroundMysteries of DropBox: Property-Based Testing of a Distributed Synchronization Service
Hughes, J., Pierce, B. C., Arts, T., & Norell, U. (2016) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2016.37 · Cited by 53
Self-citationBenotti, L., Aloi, F., Bulgarelli, F. L., & Gómez, M. J. (2018) · ACM Technical Symposium on Computer Science Education (SIGCSE) · doi:10.1145/3159450.3159579 · Cited by 52
“Ask-Elle uses QuickCheck [4] which generates random tests cases.”
MethodImproving the SMT Proof Reconstruction Pipeline in Isabelle/HOL
Lachnitt, H., Fleury, M., Barbosa, H., Jakpor, J. Z., Andreotti, B., Reynolds, A., Schurr, H.-J., Barrett, C., & Tinelli, C. (2025) · Leibniz international proceedings in informatics · doi:10.4230/lipics.itp.2025.26 · Cited by 52
Gill, A., & Runciman, C. (2007) · doi:10.1145/1291201.1291203 · Cited by 52
Marlowe: Financial Contracts on Blockchain
Seijas, P. L., & Thompson, S. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-03427-6_27 · Cited by 51
Mutation testing for integer overflow in ethereum smart contracts
Sun, J., Huang, S., Zheng, C., Wang, T., Zong, C., & Hui, Z. (2021) · Tsinghua Science & Technology · doi:10.26599/tst.2020.9010036 · Cited by 51
Generating constrained random data with uniform distribution
Claessen, K., Duregård, J., & Pałka, M. H. (2015) · Journal of Functional Programming · doi:10.1017/s0956796815000143 · Cited by 50
“The popular random testing tool QuickCheck (Claessen & Hughes 2000) provides a library for defining random generators for data types.”
MethodSelf-citationPosition paper: the science of deep specification
Appel, A. W., Beringer, L., Chlipala, A. J., Pierce, B. C., Shao, Z., Weirich, S., & Zdancewic, S. (2017) · Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · doi:10.1098/rsta.2016.0331 · Cited by 50
“We are attempting a new style where we write the canonical version of the (sequential instruction) semantics in a carefully limited subset of Haskell; we plan to create translators from that subset to all of the common specification languages, including not just Coq but also ACL2 and Isabelle/HOL.”
InfluentialSmallcheck and lazy smallcheck: automatic exhaustive testing for small values
Runciman, C., Naylor, M. F., & Lindblad, F. (2008) · ACM SIGPLAN Notices · doi:10.1145/1543134.1411292 · Cited by 50
Coverage guided, property based testing
Lampropoulos, L., Hicks, M., & Pierce, B. C. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360607 · Cited by 49
“QuickChick originally started as a straightforward clone of Haskell’s QuickCheck tool [Claessen and Hughes 2000] and still shares the same overall architecture, shown in Figure 1a.”
BackgroundMethodSeidel, E. L., Vazou, N., & Jhala, R. (2015) · Lecture notes in computer science · doi:10.1007/978-3-662-46669-8_33 · Cited by 49
“QuickCheck [4] randomly generates inputs based on the property under scrutiny, but requires custom generators to consistently generate constrained inputs.”
BackgroundMethodInfluentialPutting the semantics into semantic versioning
Lam, P., Dietrich, J. B., & Pearce, D. J. (2020) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/3426428.3426922 · Cited by 49
BeDivFuzz: integrating behavioral diversity into generator-based fuzzing
Nguyen, H. L., & Grunske, L. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510182 · Cited by 49
“We compare our approach against three techniques: RLCheck [35], Zest [32], and an implementation of Quickcheck [12] from the JQF [31] fuzzing framework.”
MethodTesting Erlang data types with quviq quickcheck
Arts, T., Castro, L. M., & Hughes, J. (2008) · ACM SIGPLAN Workshop on Erlang (Erlang) · doi:10.1145/1411273.1411275 · Cited by 49
“But sometimes, the appropriate data type is unavailable in the libraries and has to be constructed from scratch.”
BackgroundSelf-citationAn interactive functional programming tutor
Gerdes, A., Jeuring, J. T., & Heeren, B. J. (2012) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/2325296.2325356 · Cited by 49
“At the moment our tutor cannot do this, but we are working onincorporating testing, based on the QuickCheck [3] library.”
MethodInfluentialTesting noninterference, quickly
Hriţcu, C., Hughes, J., Pierce, B. C., Spector-Zabusky, A., Vytiniotis, D., de Amorim, A. A., & Lampropoulos, L. (2013) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/2500365.2500574 · Cited by 48
“) We show how QuickCheck [9], a popular property-based testing tool, can be used to formulate and test noninterference properties of our abstract machine, quickly find a variety of missing-taint and missing-exception bugs, and incrementally guide the design of a correct version of the machine.”
MethodSelf-citationDynSem: A DSL for Dynamic Semantics Specification
Vergu, V. A., Néron, P., & Visser, E. (2015) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.rta.2015.365 · Cited by 48
Swierstra, W., & Altenkirch, T. (2007) · doi:10.1145/1291201.1291206 · Cited by 48
“We demonstrate how our semantics may be used in tandem with QuickCheck [7] to test a reverse operator on queues implemented using mutable variables and verify that it runs in constant space.”
MethodInfluentialProceedings of the Scheme and Functional Programming Workshop
Clements, J. (2009) · DigitalCommons - CalPoly (California State Polytechnic University) · Cited by 48
Automatic testing of software with structurally complex inputs
Marinov, D., & Rinard, M. (2005) · DSpace@MIT (Massachusetts Institute of Technology) · Cited by 48
Analysis and Transformation of Constrained Horn Clauses for Program Verification
Angelis, E. D., Fioravanti, F., Gallagher, J. P., Hermenegildo, M. V., Pettorossi, A., & Proietti, M. (2021) · Theory and Practice of Logic Programming · doi:10.1017/s1471068421000211 · Cited by 48
EduComponents: experiences in e-assessment in computer science education
Amelung, M., Piotrowski, M., & Rösner, D. (2006) · Proceedings of the 11th annual SIGCSE conference on Innovation and technology in computer science education · doi:10.1145/1140124.1140150 · Cited by 46
“When creating an auto-assignment box, teachers select a backend and specify the data required for automatic testing by the selected backend, e.g., a model solution and test data or QuickCheck properties.”
MethodA functional I/O system or, fun for freshman kids
Felleisen, M., Findler, R. B., Flatt, M., & Krishnamurthi, S. (2009) · ACM SIGPLAN Notices · doi:10.1145/1631687.1596561 · Cited by 46
Beyond Good and Evil: Formalizing the Security Guarantees of Compartmentalizing Compilation
Juglaret, Y., Hriţcu, C., de Amorim, A. A., Eng, B., & Pierce, B. C. (2016) · IEEE Computer Security Foundations Workshop (CSFW) · doi:10.1109/csf.2016.11 · Cited by 49
“Proving this assumption (even on paper) would be quite tedious, so we settled for testing its correctness using QuickCheck [16].”
MacIver, D. R., & Donaldson, A. F. (2020) · Schloss Dagstuhl – Leibniz-Zentrum für Informatik · doi:10.4230/lipics.ecoop.2020.13
“For example, due to trying to delete short subsequences of the choice sequence, when generating lists of lists, Hypothesis will try merging adjacent lists (e.g. transforming [[1 , 2] , [3 , 4]] into [1 , 2 , 3 , 4]), because this corresponds to deleting the choices in two adjacent calls to getbits .”
BackgroundMethodInfluentialCode Generation from Specifications in Higher-Order Logic
Haftmann, F. (2009) · mediaTUM (Technical University of Munich) · Cited by 46
CAT-LM Training Language Models on Aligned Code And Tests
Rao, N., Jain, K., Alon, U., Goues, C. L., & Hellendoorn, V. J. (2023) · 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00193 · Cited by 45
“Property testing tools such as Korat [40], QuickCheck [41] and Hypothesis [42] allow a developer to specify a set of properties and subsequently generates a suite of tests that test the specified properties.”
Generating good generators for inductive relations
Lampropoulos, L., Paraskevopoulou, Z., & Pierce, B. C. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3158133 · Cited by 44
Testing Data Types Implementations from Algebraic Specifications
Gaudel, M.-C., & Gall, P. L. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-78917-8_7 · Cited by 44
“In [23], Claessen and Hughes propose the QuickCheck tool for randomly testing Haskell programs from algebraic specifications.”
BackgroundMethodRelatively complete counterexamples for higher-order programs
Nguyễn, P. C., & Horn, D. V. (2015) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2737924.2737971 · Cited by 43
“This assumption is reasonable for whole programs, but not suitable for testing higher-order components , which often consume and produce behavioral values (e.g., functions, objects).”
BackgroundMethodInfluentialJulia subtyping: a rational reconstruction
Nardelli, F. Z., Belyakova, J., Pelenitsyn, A., Chung, B., Bezanson, J., & Vítek, J. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276483 · Cited by 43
SAT-based Finite Model Generation for Higher-Order Logic
Weber, T. (2008) · mediaTUM (Technical University of Munich) · Cited by 43
JaVerT 2.0: compositional symbolic execution for JavaScript
Santos, J. F., Maksimović, P., Sampaio, G. C., & Gardner, P. A. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290379 · Cited by 42
“The literature covers a wide range of verification tools based on whole-program symbolic analysis [Boyapati et al. 2002; Claessen et al. 2015; Claessen and Hughes 2000; Dolby et al. 2007; Milicevic et al. 2007; Runciman et al. 2008; Seidel et al. 2015], and separation logic (SL) tools [Berdine et…”
BackgroundVerification in the Age of Microservices
Panda, A., Sagiv, M., & Shenker, S. J. (2017) · Workshop on Hot Topics in Operating Systems · doi:10.1145/3102980.3102986 · Cited by 42
“Other work on testing and debugging distributed systems has focused on two aspects: Randomized testing Quickcheck [5, 6], DeMI [22], etc. investigated using randomized testing ( e.g., fuzz testing) to discover invariant violations.”
MethodImproving machine translation systems via isotopic replacement
Sun, Z., Zhang, J. M., Xiong, Y., Harman, M., Papadakis, M., & Zhang, L. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510206 · Cited by 41
Quick specifications for the busy programmer
Smallbone, N., Johansson, M., Claessen, K., & Algehed, M. (2017) · Journal of Functional Programming · doi:10.1017/s0956796817000090 · Cited by 41
Self-citationAutomated Test Generation and Verified Software
Rushby, J. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-69149-5_18 · Cited by 41
“In some programming environments, each unit is automatically subjected to random testing against desired properties if these have been specified, or generic ones (e.g., no exceptions) as it is checked in (Haskell QuickCheck [20] is the progenitor of this approach).”
InfluentialA lightweight approach to datatype-generic rewriting
van Noort, T., Yakushev, A. R., Holdermans, S., Jeuring, J. T., & Heeren, B. J. (2008) · Workshop on Generic Programming · doi:10.1145/1411318.1411321 · Cited by 41
“QuickCheck (Claessen and Hughes 2000) is used to generate a sequence of random propositions, where the height of the propositions is bounded by .ve, and the same sequence is used for all test runs.”
InfluentialScheme-based theorem discovery and concept invention
Montaño-Rivas, O., McCasland, R. L., Dixon, L., & Bundy, A. (2011) · Expert Systems with Applications · doi:10.1016/j.eswa.2011.06.055 · Cited by 40
Biere, A., & Parker, D. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-45237-7 · Cited by 40
Contract-Driven Testing of JavaScript Code
Heidegger, P., & Thiemann, P. J. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-13953-6_9 · Cited by 40
“The QuickCheck library [8] for Haskell, a purely functional programming language, enables the statement of properties of program constructs, which are then automatically tested.”
BackgroundMechanized metatheory model-checking
Cheney, J., & Momigliano, A. (2007) · International Symposium on Principles and Practice of Declarative Programming (PPDP) · doi:10.1145/1273920.1273931 · Cited by 40
Purely functional lazy non-deterministic programming
Fischer, S., Kiselyov, O., & Shan, C.-C. (2009) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1596550.1596556 · Cited by 39
“Yet these bene.ts are seldom enjoyed in functional programming, because the existing features for non-strictness, sharing, and nondeterminism in functional languages are tricky to combine.”
BackgroundData-driven inference of representation invariants
Miltner, A., Padhi, S., Millstein, T. D., & Walker, D. (2020) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3385412.3385967 · Cited by 39
“Making representation invariants explicit has a number of software engineering benefits: they can be used as documentation, dynamically checked as contracts [8, 15], and used for automated testing [3, 5].”
MethodTroubleshooting blackbox SDN control software with minimal causal sequences
Scott, C., Wundsam, A., Raghavan, B., Panda, A., Or, A., Lai, J., Huang, E., Liu, Z., El-Hassany, A., Whitlock, S., et al. (2014) · ACM SIGCOMM Computer Communication Review · doi:10.1145/2740070.2626304 · Cited by 39
Purely functional lazy nondeterministic programming
Fischer, S., Kiselyov, O., & Shan, C.-C. (2011) · Journal of Functional Programming · doi:10.1017/s0956796811000189 · Cited by 39
A declarative debugger for Haskell
Pope, B. J. (2006) · Minerva Access (University of Melbourne) · Cited by 39
Effect-driven QuickChecking of compilers
Midtgaard, J., Justesen, M. N., Kasting, P., Nielson, F., & Nielson, H. R. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3110259 · Cited by 38
“We first recall the basics of QuickCheck [Claessen and Hughes 2000] as well as the goal-directed program generation approach of Pałka et al. [2011].”
MethodReady, set, verify! applying hs-to-coq to real-world Haskell code (experience report)
Breitner, J., Spector-Zabusky, A., Li, Y., Rizkallah, C., Wiegley, J., & Weirich, S. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3236784 · Cited by 38
“Things are very different when we translate the QuickCheck tests defined in the containers test suite, as we discussed in Section 4.2: whereas, the semantics of the test suite in Haskell is a program that creates random input to use as input to test executable properties, we want to reinterpret these properties as logi…”
InfluentialTestForge: Feedback-Driven, Agentic Test Suite GenerationPreprint
Jain, K., & Goues, C. L. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2503.14713 · Cited by 38
“Property testing tools such as Korat [7], QuickCheck [13] and Hypothesis [31] enable the systematic checking of user-defined properties.”
Fox, A. C. J., Stockwell, G., Xiong, S., Becker, H., Mulligan, D. P., Petri, G., & Chong, N. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3586040 · Cited by 37
Automated Software Test Generation: Some Challenges, Solutions, and Recent Advances
Candea, G., & Godefroid, P. (2019) · Lecture notes in computer science · doi:10.1007/978-3-319-91908-9_24 · Cited by 37
Higher income, larger loan? monotonicity testing of machine learning models
Sharma, A., & Wehrheim, H. (2020) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3395363.3397352 · Cited by 37
“, a variant of QuickCheck [11] for Python) and (our own implementation of) adaptive random testing as baseline approaches to compare against.”
MethodInfluentialSymbolic Test Case Generation for Primitive Recursive Functions
Brucker, A. D., & Wolff, B. (2005) · Lecture notes in computer science · doi:10.1007/978-3-540-31848-4_2 · Cited by 37
“As an example for a specification-based unit-test approach, QuickCheck [8] has attracted interest in various research communities.”
BackgroundQuickstrom: property-based acceptance testing with LTL specifications
O’Connor, L., & Wickström, O. (2022) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3519939.3523728 · Cited by 36
Evaluating non-adequate test-case reduction
Alipour, M. A., Shi, A., Gopinath, R., Marinov, D., & Groce, A. (2016) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/2970276.2970361 · Cited by 36
“Because of the advantages of smaller test cases, random test generation is often combined with deltadebugging, making research on effective reduction techniques itself an important topic [5,12,16,19].”
BackgroundDomain-specific languages and code synthesis using Haskell
Gill, A. (2014) · Communications of the ACM · doi:10.1145/2605205 · Cited by 36
“The property written in Haskell is also an EDSL for properties, called QuickCheck.(4) This EDSL can be run using a function also called quickCheck:”
MethodSymbolic Execution for JavaScript
Santos, J. F., Maksimović, P., Grohens, T., Dolby, J., & Gardner, P. A. (2018) · International Symposium on Principles and Practice of Declarative Programming (PPDP) · doi:10.1145/3236950.3236956 · Cited by 36
Property-based testing for the robot operating system
SANTOS, A. F. D. M. S., Cunha, A., & Macedo, N. (2018) · International Workshop on Automating Test Case Design, Selection and Evaluation (A-TEST) · doi:10.1145/3278186.3278195 · Cited by 37
“It fits very naturally with the pure functional programming style of Haskell, although modern PBT libraries [2, 5, 8] (QuickCheck included) are able to handle stateful systems and software with side effects just as well.”
BackgroundMethodKatayama, S. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-89197-0_21 · Cited by 35
“Fortunately, this can be achieved easily in most types including functional ones, using the polymorphic random testing library QuickCheck[8].”
BackgroundMethodInfluentialTesting and debugging functional reactive programming
Pérez, I., & Nilsson, H. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3110246 · Cited by 35
“24999999999999 ) stream05 False QuickCheck [Claessen and Hughes 2000] is a tool that combines random data generation with a property language in order to test our code more thoroughly.”
MethodWrenn, J., Krishnamurthi, S., & Fisler, K. (2018) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3230977.3230999 · Cited by 35
T3, a Combinator-Based Random Testing Tool for Java: Benchmarking
Prasetya, I. S. W. B. (2014) · Lecture notes in computer science · doi:10.1007/978-3-319-07785-7_7 · Cited by 34
“Claessen, K., Hughes, J.: QuickCheck: a lightweight tool for random testing of Haskell programs.”
MethodInfluentialDigging for fold: synthesis-aided API discovery for Haskell
James, M. B., Guo, Z. K., Wang, Z., Doshi, S., Peleg, H., Jhala, R., & Polikarpova, N. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428273 · Cited by 34
Nessie: automatically testing JavaScript APIs with asynchronous callbacks
Arteca, E., Harner, S., Pradel, M., & Tip, F. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510106 · Cited by 34
“QuickCheck [11] is an example of the former, as it creates callback functions that return a random, type-correct value.”
BackgroundVerified compilation of Quantum oracles
Li, L., Voichick, F., Hietala, K., Peng, Y., Wu, X., & Hicks, M. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3563309 · Cited by 34
“Leveraging O qasm’s efficient simulatability, we implemented a property-based random testing (PBT) framework for O qasm programs in QuickChick [Paraskevopoulou et al. 2015], a variant of Haskell’s QuickCheck [Claessen and Hughes 2000] for Coq programs.”
MethodGuiding Greybox Fuzzing with Mutation Testing
Vikram, V., Laybourn, I., Li, A., Nair, N., OBrien, K., Sanna, R., & Padhye, R. (2023) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3597926.3598107 · Cited by 34
“Structure-aware fuzzing tools [6, 13, 28–30] perform mutations that preserve the syntax or type safety of inputs, e.g. by mutating parse trees using a grammar or by mutating pseudorandom choices backing a Quickcheck-like [31] generator function.”
MethodTowards generic and flexible web services for e-assessment
Amelung, M., Forbrig, P., & Rösner, D. (2008) · ACM Conference on Innovation and Technology in Computer Science Education (ITiCSE) · doi:10.1145/1384271.1384330 · Cited by 34
“QuickCheck: a lightweight tool for random testing of haskell programs.”
MethodGenerating structured test data with specific properties using nested Monte-Carlo search
Poulding, S., & FELDT, R. H. (2014) · Genetic and Evolutionary Computation Conference (GECCO) · doi:10.1145/2576768.2598339 · Cited by 34
“When used to play games, NMCS is applied to a game tree , the tree of potential game”
MethodRandIR: differential testing for embedded compilers
Ofenbeck, G., Rompf, T., & Püschel, M. (2016) · Symposium on Scala · doi:10.1145/2998392.2998397 · Cited by 34
Smart Testing of Functional Programs in Isabelle
Bulwahn, L. (2012) · Lecture notes in computer science · doi:10.1007/978-3-642-28717-6_14 · Cited by 34
When is a function a fold or an unfold?
Gibbons, J., Hutton, G., & Altenkirch, T. (2001) · Electronic Notes in Theoretical Computer Science · doi:10.1016/s1571-0661(04)80906-x · Cited by 34
“It might be possible to use an automatic testing system such as QuickCheck [2] to find counterexamples to the appropriate inclusions.”
MethodTowards making formal methods normal: meeting developers where they arePreprint
Reid, A., Church, L., Flur, S., de Haas, S., Johnson, M., & Laurie, B. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.16345 · Cited by 34
“This approach is rooted in Property-based testing [10] and Parameterized unit tests [34].”
MethodFANDANGO: Evolving Language-Based Testing
Amaya, J. A. Z., Smytzek, M., & Zeller, A. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728915 · Cited by 33
“Property-based testing, introduced with QUICKCHECK [13], automatically produces function inputs to check the function result against a property that should universally hold.”
de Vries, E., & Löh, A. (2014) · Workshop on Generic Programming · doi:10.1145/2633628.2633634 · Cited by 33
Luna, E. R., Rossi, G. H., & Garrigós, I. (2011) · Requirements Engineering · doi:10.1007/s00766-011-0124-1 · Cited by 33
“With the aim of specifying different types of requirements, WebSpec provides a variety of generators based on the ones QuickCheck already provides; though adding a new generator is not a hard task.”
BackgroundMethodInfluential
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.