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 201–300 of 1,001
Cogent: uniqueness types and certifying compilation
O’Connor, L., Chen, Z., Rizkallah, C., Jackson, V., Amani, S., Klein, G., Murray, T., Sewell, T. A. L., & Keller, G. (2021) · Journal of Functional Programming · doi:10.1017/s095679682100023x · Cited by 33
“Future work involves integrating robust specification-based testing tools in the style of QuickCheck (Claessen & Hughes, 2000) to Cogent (Chen et al., 2017), to improve turn-around time for debugging and to allow verification to be attempted only after developers are confident that the code is indeed correct.”
MethodOdersky, M. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-16612-9_5 · Cited by 33
Software Testing with QuickCheck
Hughes, J. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-17685-2_6 · Cited by 33
Self-citationTSTL: the template scripting testing language
Holmes, J., Groce, A., Pinto, J., Mittal, P., Azimi, P., Kellar, K., & O’Brien, J. (2016) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-016-0445-y · Cited by 33
Declarative Debugging with Buddha
Pope, B. J. (2005) · Lecture notes in computer science · doi:10.1007/11546382_7 · Cited by 34
“It is supposed to compute the digits of 341 as a list ([3,4,1]), but instead it produces [1,10,10].”
BackgroundMethodInfluentialAbstract Diagnosis of Functional Programs
Alpuente, M., Comini, M., Escobar, S., Falaschi, M., & Lucas, S. (2003) · Lecture notes in computer science · doi:10.1007/3-540-45013-0_1 · Cited by 33
“Nevertheless, more experimentation is needed in order to assess how our methodology performs in comparison to other tools for revealing errors in functional programs such as QuickCheck [7].”
MethodProceedings of the 22nd Conference on Formal Methods in Computer-Aided Design – FMCAD 2022Preprint
Vigouroux, T., Ene, C., Monniaux, D. P., Mounier, L., & Potet, M.-L. (2022) · arXiv (Cornell University) · doi:10.34727/2022/isbn.978-3-85448-053-2 · Cited by 33
He, Y., Huang, J., Rong, Y., Guo, Y., Wang, E., & Chen, H. (2024) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3650212.3680342 · Cited by 32
“[11] for testing Haskell.”
InfluentialTowards a verified range analysis for JavaScript JITs
Brown, F., Renner, J., Nötzli, A., Lerner, S., Shacham, H., & Stefan, D. (2020) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3385412.3385968 · Cited by 32
Testing monadic code with QuickCheck
Claessen, K., & Hughes, J. (2002) · ACM SIGPLAN Notices · doi:10.1145/636517.636527 · Cited by 32
Self-citationZhu, H., Nori, A. V., & Jagannathan, S. (2015) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/2784731.2784766 · Cited by 32
“978-1-4503-3669-7/15/08...$15.00 $15.00. http://dx.doi.org/10.1145/nnnnnnn.nnnnnnn http://dx.doi.org/10.1145/2784731. l e t max x y z m = m (m x y) z l e t f x y = i f x >= y then x e l s e y l e t main x y z = l e t result = max x y z f in assert (f x result = result) The types specify that both…”
MethodInfluentialBidirectional Symbolic Analysis for Effective Branch Testing
Baluda, M., Denaro, G., & Pezzè, M. (2015) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2015.2490067 · Cited by 32
TzuYu: Learning stateful typestates
Xiao, H., Sun, J., Liu, Y., Lin, S., & Sun, C. P. (2013) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2013.6693101 · Cited by 31
“To answer a candidate query with a typestate C , we use random walk [9], [10], [21] to generate a suite of test cases.”
MethodPropR: property-based automatic program repair
Gissurarson, M. P., Applis, L., Panichella, A., van Deursen, A., & Sands, D. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510620 · Cited by 32
“called properties of functions that must hold for any input of that function [8].”
BackgroundMethodInfluentialAffine Monads and Lazy Structures for Bayesian Programming
Dash, S., Kaddar, Y., Paquet, H., & Staton, S. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3571239 · Cited by 31
“• Any morphism 𝑤 : 𝑋 → R can be regarded as a measure kernel 𝑋 ⇝ 1 onto the one point • We compose measure kernels by composing the probability kernels and multiplying the • We tensor measure kernels by tensoring the probability kernels and multiplying the weights.”
Automatically learning shape specifications
Zhu, H., Petri, G., & Jagannathan, S. (2016) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2908080.2908125 · Cited by 31
“For simplicity, we use a random testing approach based on Q UICK C HECK [8], which runs the program with a random sequence of calls to the API (interface functions) of the data structure.”
MethodModel Finding for Recursive Functions in SMT
Reynolds, A., Blanchette, J. C., Cruanes, S., & Tinelli, C. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-40229-1_10 · Cited by 31
“QuickCheck [12] for Haskell is an early example, based on random testing.”
Ponzio, P., Aguirre, N., Frias, M. F., & Visser, W. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2950336 · Cited by 31
“Relevant cases of this are bounded exhaustive testing [32], a black box criterion which proposes to test programs on all valid inputs bounded by a user provided bound, and random testing , a well known testing approach proposing to test programs on randomly generated inputs [7, 27].”
BackgroundMethodInfluentialDynamic witnesses for static type errors (or, ill-typed programs usually go wrong)
Seidel, E. L., Jhala, R., & Weimer, W. R. (2016) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/2951913.2951915 · Cited by 31
“Random test generation [6, 7, 28] is by its nature incomplete, but is able to check larger inputs than exhaustive testing as a result.”
BackgroundPrologCheck – Property-Based Testing in Prolog
Amaral, C., Florido, M., & Costa, V. S. (2014) · Lecture notes in computer science · doi:10.1007/978-3-319-07151-0_1 · Cited by 31
Danielsson, N. A., & Jansson, P. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-27764-4_6 · Cited by 31
“Furthermore it would be nice if we could perform these tests in pure code, such as QuickCheck [2] properties (see below).”
MethodTesting and Tracing Lazy Functional Programs Using QuickCheck and Hat
Claessen, K., Runciman, C., Chitil, O., Hughes, J., & Wallace, M. (2003) · Lecture notes in computer science · doi:10.1007/978-3-540-44833-4_3 · Cited by 31
“[1,2]++[3,4] might be the parent of [1,2,3,4]).”
BackgroundMethodSelf-citationCompiling Exceptions Correctly
Hutton, G., & Wright, J. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-27764-4_12 · Cited by 31
“QuickCheck [2] was used extensively in the production of this article, and proved invaluable as an aid to getting the definitions and results correct before proceeding to formal proofs.”
MethodExtended Static Checking by Calculation Using the Pointfree Transform
Oliveira, J. N. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-03153-3_5 · Cited by 30
“In the 1980’s, Freyd and Ščedrov [25] developed the notion of anllegory (a category whose homsets are partially ordered) which even tually accommodates the 7 Tools such as QuickCheck [15] help in this respect.”
BackgroundProgramming with enumerable sets of structures
Kuraj, I., Kunčak, V., & Jackson, D. N. (2015) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/2814270.2814323 · Cited by 30
“Automated data structure generation techniques are useful in many contexts: software testing [10, 11, 18, 45], synthesis [30, 32], bounded and unbounded verification [3, 15, 25, 28], theorem proving [6, 12], and others [4, 9, 22, 24, 31].”
BackgroundCompiler Testing using Template Java Programs
Zang, Z., Wiatrek, N., Gligoric, M., & Shi, A. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3556958 · Cited by 30
“Similarly, QuickCheck [26, 43], as a property-based testing tool, is also capable of randomly generating test inputs but requires developers to provide generators for complex data types.”
MethodSplittable pseudorandom number generators using cryptographic hashing
Claessen, K., & Pałka, M. H. (2013) · International Symposium on Haskell · doi:10.1145/2503778.2503784 · Cited by 30
“In Haskell, the standard module System.”
Self-citationTesting noninterference, quickly
Hriţcu, C., LAMPROPOULOS, L., SPECTOR-ZABUSKY, A., AMORIM, A. A. D., DÉNÈS, M., HUGHES, J., Pierce, B. C., & Vytiniotis, D. (2016) · Journal of Functional Programming · doi:10.1017/s0956796816000058 · Cited by 30
Self-citationAutomatically testing implementations of numerical abstract domains
Bugariu, A., Wüstholz, V., Christakis, M., & Müller, P. (2018) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3238147.3240464 · Cited by 29
Chen, Y., Groce, A., Zhang, C., Wong, W.-K., Fern, X. Z., Eide, E. N., & Regehr, J. D. (2013) · ACM SIGPLAN Notices · doi:10.1145/2499370.2462173 · Cited by 30
Random testing for higher-order, stateful programs
Klein, C., Flatt, M., & Findler, R. B. (2010) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/1869459.1869505 · Cited by 30
“QuickCheck (Claessen and Hughes 2000), a random testing library for Haskell, provides flexible support for testing higher-order functions.”
MethodAutomated specification-based testing of graphical user interfaces
Pimenta, A. C. R. P. (2006) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT) · doi:10.34626/qegw-m891 · Cited by 30
Computing correctly with inductive relations
Paraskevopoulou, Z., Eline, A., & Lampropoulos, L. (2022) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3519939.3523707 · Cited by 29
“Unlike functions, inductive relations are not executable, even though that would be highly desirable in various situations, from leveraging computation in proofs using reflection [4] to establishing confidence in the correctness of developments using QuickCheck-style random testing [9].”
BackgroundFlakiMe: laboratory-controlled test flakiness impact assessment
Cordy, M., Rwemalika, R., Franci, A., Papadakis, M., & Harman, M. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510194 · Cited by 29
Infrastructure as code for dynamic deployments
Sokolowski, D. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3558912 · Cited by 30
EduComponents: experiences in e-assessment in computer science education
Amelung, M., Piotrowski, M., & Rösner, D. (2006) · ACM SIGCSE Bulletin · doi:10.1145/1140123.1140150 · Cited by 29
Type systems for the masses: deriving soundness proofs and efficient checkers
Grewe, S., Erdweg, S. T., Wittmann, P., & Mezini, M. (2015) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/2814228.2814239 · Cited by 29
“We plan to integrate automated methods for finding counterexamples such as QuickCheck [9] into Veritas in order to find and present counterexamples to the DSL developer.”
MethodPragmatic equivalence and safety checking in Cryptol
Erkök, L., & Matthews, J. (2009) · Programming Languages meets Program Verification · doi:10.1145/1481848.1481860 · Cited by 29
Asymptotically almost all \lambda-terms are strongly normalizing
David, R., Grygiel, K., Kozik, J., Raffalli, C., Theyssier, G., & Zaionc, M. (2013) · Logical Methods in Computer Science · doi:10.2168/lmcs-9(1:2)2013 · Cited by 29
Leotta, M., Ricca, F., Marchetto, A., & Olianas, D. (2023) · Journal of Software Evolution and Process · doi:10.1002/smr.2606 · Cited by 28
“The authors instantiated the proposed approach using QuickCheck (a lightweight tool for random testing of Haskell programs) 42 and shown its applicability via a case study on the national health portal for Maltese residents.”
MethodLExecutor: Learning-Guided Execution
Souza, B., & Pradel, M. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616254 · Cited by 28
“Popular approaches toward test generation include QuickCheck [20], JCrasher [22], symbolic execution [15, 33, 74], and Randoop [57].”
MethodChitil, O., McNeill, D., & Runciman, C. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-27861-0_1 · Cited by 28
“QuickCheck properties are not limited to expressions that fit the context of a particular program point, and a separate testing process imposes no overhead when an application is run.”
BackgroundInfluentialSkeletal program enumeration for rigorous compiler testing
Zhang, Q., Sun, C. P., & Su, Z. (2017) · ACM SIGPLAN Notices · doi:10.1145/3140587.3062379 · Cited by 28
Domain-specific Languages and Code Synthesis Using Haskell: Looking at embedded DSLs
Gill, A. (2014) · Queue · doi:10.1145/2611429.2617811 · Cited by 28
Hat-Delta --- One Right Does Make a Wrong
Davie, T., & Chitil, O. (2005) · Kent Academic Repository (University of Kent) · Cited by 28
Towards Systematic Parallel Programming over MapReduce
Liu, Y., Hu, Z., & Matsuzaki, K. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-23397-5_5 · Cited by 27
Polynomial tuning of multiparametric combinatorial samplers
Bendkowski, M., Bodini, O., & Dovgal, S. (2018) · Society for Industrial and Applied Mathematics eBooks · doi:10.1137/1.9781611975062.9 · Cited by 27
The Next 7000 Programming Languages
Chatley, R., Donaldson, A. F., & Mycroft, A. (2019) · Lecture notes in computer science · doi:10.1007/978-3-319-91908-9_15 · Cited by 27
Trace-based Reflexive Testing of OO Programs with T2
Prasetya, I. S. W. B., Vos, T., & Baars, A. I. (2008) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2008.12 · Cited by 26
“by simply exploiting insight on the structures of the data types on which the target program operates, QuickCheck [4] was quick to become”
BackgroundCounting and generating terms in the binary lambda calculus
GRYGIEL, K., & Lescanne, P. (2015) · Journal of Functional Programming · doi:10.1017/s0956796815000271 · Cited by 26
“From the practical point of view, generation of random λ-terms is the core of debugging functional programs using random tests [5] and the present paper offers an answer to an open question (see introduction of [5]) since we are able to generate closed typable terms following a uniform distribution.”
BackgroundAutomating Targeted Property-Based Testing
Löscher, A., & Sagonas, K. (2018) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2018.00017 · Cited by 26
“The QuickCheck library for Haskell by Claessen and Hughes [2] pioneered the idea of using a high-level language for writing properties and generators for property-based testing.”
BackgroundMethodAutomatic and scalable detection of logical errors in functional programming assignments
Song, D., Lee, M., & Oh, H. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360614 · Cited by 26
“Furthermore, property-based testing requires users to manually provide proper ingredients (e.g., generators and shrinkers [Claessen and Hughes 2000]), which makes the testing process burdensome.”
BackgroundMethodA functional specification of effects
Swierstra, W. (2009) · Nottingham ePrints (University of Nottingham) · Cited by 27
General and Practical Property-based Testing for Android Apps
Xiong, Y., Su, T., Wang, J., Sun, J., Pu, G., & Su, Z. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3694986 · Cited by 25
Property-Based Testing - The ProTest Project
Derrick, J., Walkinshaw, N., Arts, T., Earle, C. B., Cesarini, F., Fredlund, L., Gulías, V. M., Hughes, J., & Thompson, S. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-17071-3_13 · Cited by 25
Self-citationAutomatic Generation of Test Suites from Decision Table - Theory and Implementation
Sharma, M., & Subhash Chandra, B. (2010) · International Conference on Software Engineering Advances · doi:10.1109/icsea.2010.78 · Cited by 25
“Apart from the traditional methods of partition testing and cause effect graphing, other methods like random testing [3,4], path oriented test data generation [5,6], constraint-based data generation [5,7], goal oriented test generation [8,9,10,11] (chaining and assertion oriented approaches) and…”
MethodA lightweight interactive debugger for haskell
Marlow, S., Iborra, J., Pope, B. J., & Gill, A. (2007) · doi:10.1145/1291201.1291204 · Cited by 25
“In this section we introduce the basic features of the debugger, and then demonstrate its use on a moderately sized program.”
MethodA generic library for GUI reasoning and testing
Silva, J. C., Saraiva, J., & Campos, J. C. (2009) · ACM Symposium on Applied Computing · doi:10.1145/1529282.1529307 · Cited by 25
“QuickCheck [6] is a tool for testing Haskell programs automatically.”
MethodSneaking around concatMap: efficient combinators for dynamic programming
zu Siederdissen, C. H. (2012) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/2364527.2364559 · Cited by 25
“One particularly good option is to automate testing using QuickCheck [5] properties.”
MethodMLCHECK– Property-Driven Testing of Machine Learning Classifiers
Sharma, A., Demir, C., Ngomo, A.-C. N., & Wehrheim, H. (2021) · International Conference on Machine Learning and Applications · doi:10.1109/icmla52953.2021.00123 · Cited by 25
QuickChecking static analysis properties
Midtgaard, J., & Møller, A. (2017) · Software Testing Verification and Reliability · doi:10.1002/stvr.1640 · Cited by 25
GreenDroid: A tool for analysing power consumption in the android ecosystem
Couto, M., Cunha, J., Fernandes, J. P., Pereira, R., & Saraiva, J. (2015) · IEEE International Scientific Conference on Informatics (Informatics) · doi:10.1109/informatics.2015.7377811 · Cited by 25
Axiom-Based Transformations: Optimisation and Testing
Bagge, A. H., & Haveraaen, M. (2009) · Electronic Notes in Theoretical Computer Science · doi:10.1016/j.entcs.2009.09.038 · Cited by 25
“QuickCheck [5] is a testing system for Haskell where a programmer can state laws (like C++ axioms) as Haskell functions.”
MethodHaskell tools from the programatica project
Hallgren, T. (2003) · International Symposium on Haskell · doi:10.1145/871895.871907 · Cited by 25
“At the moment, the command line tools and the browser support the creation and validation of certificates for three basic forms of evidence: informal claims (“I say so”), tests run with QuickCheck [4], and formal proofs in Alfa [9].”
MethodInfluentialGeneric functional programming conceptual design, implementation and applications
Alimarine, A. (2005) · Radboud Repository (Radboud University) · Cited by 26
Cheney, J. (2005) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1086365.1086389 · Cited by 25
“A few other examples include α- quivalencerespecting linear and subterm orderings; conversion to and from name-free encodings like de Bruijn indices or binary formats; syntactic unification [21, 33]; and randomized test generation as in QuickCheck [8].”
BackgroundLightweight Automated Testing with Adaptation-Based Programming
Groce, A., Fern, A., Pinto, J., Bauer, T., Alipour, M. A., Erwig, M., & Lopez, C. (2012) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2012.1 · Cited by 24
“As early as 2000, Haskell programmers began to incorporate lightweight highly automated random testing as a frequently used method for “quickly checking” a function’s correctness, using the QuickCheck library [4].”
BackgroundDo Judge a Test by its Cover: Combining Combinatorial and Property-Based Testing
Goldstein, H., Hughes, J., Lampropoulos, L., & Pierce, B. C. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-72019-3_10 · Cited by 24
“Property-based testing, popularized by tools like QuickCheck [7], is a principled way of testing software that focuses on functional specifications rather than suites of input-output examples.”
MethodInfluentialSelf-citationData-driven abductive inference of library specifications
Zhou, Z., Dickerson, R. F., Delaware, B., & Jagannathan, S. (2021) · Proceedings of the ACM on Programming Languages · doi:10.1145/3485493 · Cited by 24
“Elrond consists of 7267 lines of OCaml and uses Z3 [De Moura and Bjørner 2008] as its backend solver. Elrond’s frontend generates verification queries from client programs via weakest liberal precondition predicate transformers. Elrond does not automatically infer inductive invariants for recursive client functions, a…”
MethodTools and Algorithms for the Construction and Analysis of Systems
(2019) · Directory of Open access Books (OAPEN Foundation) · Cited by 24
Enumerating Well-Typed Terms Generically
Yakushev, A. R., & Jeuring, J. T. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-11931-6_5 · Cited by 24
“For this reason, QuickCheck (Claessen and Hughes 2000) allows the definition of custom generators.”
Type test scripts for TypeScript testing
Kristensen, E. K., & Møller, A. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133914 · Cited by 24
Decision procedures for algebraic data types with abstractions
Suter, P., Dotta, M., & Kunčak, V. (2010) · ACM SIGPLAN Notices · doi:10.1145/1707801.1706325 · Cited by 24
Feat: functional enumeration of algebraic types
Duregård, J., Jansson, P., & Wang, M. (2012) · ACM SIGPLAN Notices · doi:10.1145/2430532.2364515 · Cited by 24
Grounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2022) · arXiv · doi:10.48550/arxiv.2206.15000 · Cited by 23
“For example, P16 wanted to set up property-based testing [Claessen and Hughes 2000] to run automatically on Copilot suggestions.”
Property-Based Fuzzing for Finding Data Manipulation Errors in Android Apps
Sun, J., Su, T., Jiang, J., Wang, J., Pu, G., & Su, Z. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616286 · Cited by 23
“To this end, inspired by the classic idea of property-based testing (PBT) [15], we aim to introduce a novel property-based fuzzing approach to effectively finding DMEs in Android apps.”
MethodEastlund, C. (2009) · International Workshop on the ACL2 Theorem Prover and its Applications (ACL2) · doi:10.1145/1637837.1637844 · Cited by 23
“DoubleCheck can be used to guide the theorem proving process or, in a classroom setting, as a gentle introduction to automated program verification.”
MethodDeciding the Bisimilarity of Context-Free Session Types
Almeida, B., Mordido, A., & VASCONCELOS, V. T. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-45237-7_3 · Cited by 23
Automatic Fairness Testing of Machine Learning Models
Sharma, A., & Wehrheim, H. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-64881-7_16 · Cited by 23
Safe and sound program analysis with Flix
Madsen, M., & Lhoták, O. (2018) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3213846.3213847 · Cited by 23
Document-oriented e-learning components
Piotrowski, M. (2009) · Digitalen Hochschulbibliothek Sachsen-Anhalt (Universitäts- und Landesbibliothek Sachsen-Anhalt) · doi:10.25673/4968 · Cited by 25
Early estimation of defect density using an in-process Haskell metrics model
Sherriff, M. S., Nagappan, N., Williams, L. A., & Vouk, M. A. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1082983.1083285 · Cited by 23
“QuickCheck was created to directly exploit an advantage that functional programs possess [10].”
BackgroundScrap your boilerplate with class: extensible generic functions
Lämmel, R., & Jones, S. (2005) · ACM SIGPLAN Notices · doi:10.1145/1090189.1086391 · Cited by 23
Okasaki, C. (2001) · Electronic Notes in Theoretical Computer Science · doi:10.1016/s1571-0661(05)80546-8 · Cited by 23
“Each abstraction in Edison has an associated test suite implemented under QuickCheck [2].”
MethodHow to Specify It! A Guide to Writing Properties of Pure Functions
Hughes, J. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-47147-7_4 · Cited by 22
Self-citationT3i: a tool for generating and querying test suites for Java
Prasetya, I. S. W. B. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2803182 · Cited by 22
“2]”))) , Param (” region ” , String ( OneOf (” EU ” , ” SA ” , ””))) , Param (” age ” , Integer ( gauss (16 , 17 , 18 , 40 , 66))) ) The style is similar to QuickCheck [3].”
Property-Based Testing with FsCheck by Deriving Properties from Business Rule Models
Aichernig, B. K., & Schumi, R. (2016) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2016.24 · Cited by 22
“The first PBT tool was QuickCheck [1] for Haskell.”
BackgroundMethodInfluentialEvaluating Countermeasures for Verifying the Integrity of Ethereum Smart Contract Applications
Ji, S., Kim, D., & Im, H. (2021) · IEEE Access · doi:10.1109/access.2021.3091317 · Cited by 22
Fast and sound random generation for automated testing and benchmarking in objective Caml
Canou, B., & Darrasse, A. (2009) · ACM SIGPLAN Workshop on ML (ML) · doi:10.1145/1596627.1596637 · Cited by 22
“Other functional languages have more widely used tools like Haskell with QuickCheck [Claessen and Hughes 2000].”
BackgroundMethodInfluentialUsing Valued Booleans to Find Simpler Counterexamples in Random Testing of Cyber-Physical Systems
Claessen, K., Smallbone, N., Eddeland, J. L., Ramezani, Z., & Åkesson, K. (2018) · IFAC-PapersOnLine · doi:10.1016/j.ifacol.2018.06.333 · Cited by 22
“In this paper we consider constrained random test case generation as supported by the tool QuickCheck (Claessen and Hughes, 2000).”
MethodSelf-citationStream fusion: practical shortcut fusion for coinductive sequence types
Coutts, D. (2011) · Oxford University Research Archive (ORA) (University of Oxford) · doi:10.5287/ora-kz1vnm9qg · Cited by 22
Goldstein, H., & Pierce, B. C. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3563291 · Cited by 21
“We can use these operations to define genTree like we would in QuickCheck [Claessen and Hughes 2000] and parseTree like we would using libraries like Parsec [Leijen and Meijer 2001] In the first program, genTree , we use the monadic operations (along with frequency ) to generate a random tree of…”
MethodEtna: An Evaluation Platform for Property-Based Testing (Experience Report)
Shi, J., Keleş, A., Goldstein, H., Pierce, B. C., & Lampropoulos, L. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3607860 · Cited by 21
The Verse Calculus: A Core Calculus for Deterministic Functional Logic Programming
Augustsson, L., Breitner, J., Claessen, K., Jhala, R., Jones, S., Shivers, O., Steele, G. L., & Sweeney, T. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3607845 · Cited by 21
Self-citationαCheck: A mechanized metatheory model checker
Cheney, J., & Momigliano, A. (2017) · Theory and Practice of Logic Programming · doi:10.1017/s1471068417000035 · Cited by 21
“In fact, the idea of using testing and counter-model generation alongside formal metatheory verification has, in the past few years, gone mainstream; this happened mainly by importing the idea of property-based testing pioneered by the QuickCheck system (Claessen and Hughes 2000) into environments for the specificatio…”
BackgroundMethodInfluentialProperty-based testing of web services by deriving properties from business-rule models
Aichernig, B. K., & Schumi, R. (2017) · Software & Systems Modeling · doi:10.1007/s10270-017-0647-0 · Cited by 21
Tests from traces: automated unit test extraction for R
Křikava, F., & Vítek, J. (2018) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3213846.3213863 · Cited by 21
Testing differential privacy with dual interpreters
Zhang, H., Roth, E., Haeberlen, A., Pierce, B. C., & Roth, A. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428233 · Cited by 21
Nilsson, A., Castro, L. M., Rivas, S., & Arts, T. (2013) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-013-0275-0 · Cited by 21
Functional programming and theorem proving for undergraduates: a progress report
Page, R. L., Eastlund, C., & Felleisen, M. (2008) · doi:10.1145/1411260.1411264 · Cited by 21
“Erlang/QuickCheck.”
MethodInfluential
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.