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
DART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · ACM SIGPLAN Notices · doi:10.1145/1064978.1065036 · Cited by 2,067
CUTE: a concolic unit testing engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081750 · Cited by 1,651
“The random generation itself may not terminate [7].”
BackgroundDART: directed automated random testing
Godefroid, P., Klarlund, N., & Sen, K. (2005) · Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation · doi:10.1145/1065010.1065036 · Cited by 1,570
“QuickCheck [7] is a tool for random testing of Haskell programs which supports a test specification language where the user can assign probabilities to inputs.”
MethodFeedback-Directed Random Test Generation
Pacheco, C., Lahiri, S. K., Ernst, M. D., & Ball, T. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.37 · Cited by 863
“Random testing [14] has been used to find errors in many applications; a partial list includes Unix utilities [19], Windows GUI applications [10], Haskell programs [2], and Java programs [3, 23, 22].”
MethodAn orchestrated survey of methodologies for automated software test case generation
Anand, S., Burke, E. K., Chen, T. Y., Clark, J., Cohen, M. B., Grieskamp, W., Harman, M., Harrold, M. J., McMinn, P., Bertolino, A., et al. (2013) · Journal of Systems and Software · doi:10.1016/j.jss.2013.02.061 · Cited by 668
“Tools like QuickCheck (Claessen and Hughes, 2000) and others are used successfully in practice applying this approach.”
MethodThe Future of Sensitivity Analysis: An essential discipline for systems modeling and policy support
Razavi, S., Jakeman, A., Saltelli, A., Prieur, C., Iooss, B., Borgonovo, E., Plischke, E., Lo Piano, S., Iwanaga, T., Becker, W., et al. (2021) · Environmental Modelling & Software · doi:10.1016/j.envsoft.2020.104954 · Cited by 628
“Diagnostic evaluation of models in this manner is analogous to property-based testing (Claessen and Hughes, 2000), wherein the logical properties of model behavior are evaluated according to expected behavior.”
Grammar-based whitebox fuzzing
Godefroid, P., Kiezun, A., & Levin, M. Y. (2008) · Proceedings of the 29th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1375581.1375607 · Cited by 462
“Imperative generation [7, 27, 10] is a related approach in which a custommade program generates the inputs (in e ffect, the program encodes the grammar).”
BackgroundGrounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3586030 · Cited by 436
JCrasher: an automatic robustness tester for Java
Csallner, C., & Smaragdakis, Y. (2004) · Software: Practice and Experience · doi:10.1002/spe.602 · Cited by 426
“Several research tools [2, 3, 4, 5, 6] and commercial products [7, 8] employ some of the same ideas in their testing.”
BackgroundMajumdar, R., & Sen, K. (2007) · 29th International Conference on Software Engineering (ICSE'07) · doi:10.1109/icse.2007.41 · Cited by 426
“The simplest, and yet often very effective, techniquesuserandom generation of (concrete) test inputs [3, 22, 12, 5, 7, 23, 20].”
BackgroundLearn&Fuzz: Machine learning for input fuzzing
Godefroid, P., Peleg, H., & Singh, R. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115618 · Cited by 344
Zhu, X., Wen, S., Camtepe, S., & Xiang, Y. (2022) · ACM Computing Surveys · doi:10.1145/3512345 · Cited by 334
“For example, the community open-sources some tools for generating highly structured inputs [50, 146] (Section 4.4.1).”
BackgroundMethodInfluentialCUTE: a concolic unit testing engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1095430.1081750 · Cited by 315
CUTE: A Concolic Unit Testing Engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · doi:10.21236/ada482657 · Cited by 300
A history of Haskell: being lazy with class
Hudak, P., Hughes, J., Peyton Jones, S., & Wadler, P. (2007) · Proceedings of the third ACM SIGPLAN conference on History of programming languages · doi:10.1145/1238844.1238856 · Cited by 261
“A first paper appeared in 2000 (Claessen and Hughes, 2000), with a follow-up article on testing monadic code in 2002 (Claessen and Hughes, 2002).”
BackgroundSelf-citationEclat: Automatic Generation and Classification of Test Inputs
Pacheco, C., & Ernst, M. D. (2005) · Lecture Notes in Computer Science · doi:10.1007/11531142_22 · Cited by 250
O’Hearn, P. W. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3371078 · Cited by 243
Testing telecoms software with quviq QuickCheck
Arts, T., Hughes, J., Johansson, J., & Wiger, U. T. (2006) · ACM SIGPLAN Workshop on Erlang (Erlang) · doi:10.1145/1159789.1159792 · Cited by 234
Self-citationAutomated testing of refactoring engines
Daniel, B., Dig, D., Garcia, K., & Marinov, D. (2007) · Proceedings of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering · doi:10.1145/1287624.1287651 · Cited by 227
“QuickCheck provides a set of basic generators (each of which is a Haskell monad) and combinators for building complex generators from simpler ones.”
BackgroundMethodInfluentialStochastic lambda calculus and monads of probability distributions
Ramsey, N. F., & Pfeffer, A. (2002) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/503272.503288 · Cited by 227
Smallcheck and lazy smallcheck: automatic exhaustive testing for small values
Runciman, C., Naylor, M. F., & Lindblad, F. (2008) · International Symposium on Haskell · doi:10.1145/1411286.1411292 · Cited by 225
Padhye, R., Lemieux, C., Sen, K., Papadakis, M., & Traon, Y. L. (2019) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3293882.3330576 · Cited by 223
Harvey: a greybox fuzzer for smart contracts
Wüstholz, V., & Christakis, M. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417064 · Cited by 217
Hypothesis: A new approach to property-based testing
MacIver, D. R., Hatfield-Dodds, Z., & contributors, M. O. (2019) · The Journal of Open Source Software · doi:10.21105/joss.01891 · Cited by 198
Sen, K. (2007) · Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering · doi:10.1145/1321631.1321746 · Cited by 194
Armstrong, J. (2010) · Communications of the ACM · doi:10.1145/1810891.1810910 · Cited by 176
Fuzzing: hack, art, and science
Godefroid, P. (2020) · Communications of the ACM · doi:10.1145/3363824 · Cited by 171
Grammar-based whitebox fuzzing
Godefroid, P., Kieżun, A., & Levin, M. Y. (2008) · ACM SIGPLAN Notices · doi:10.1145/1379022.1375607 · Cited by 167
Test generation through programming in UDITA
Gligoric, M., Gvero, T., Jagannath, V., Khurshid, S., Kuncak, V., & Marinov, D. (2010) · Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1 · doi:10.1145/1806799.1806835 · Cited by 160
“The design of UDITA generators is in.uenced by AST-Gen [11] (which provides Java generators for abstract syntax trees for testing refactoring engines) and QuickCheck [7] (which provides a Haskell framework for generators).”
MethodInfluentialThe scalable commutativity rule: designing scalable software for multicore processors
Clements, A. T., Kaashoek, M. F., Zeldovich, N., Morris, R., & Kohler, E. (2013) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/2517349.2522712 · Cited by 155
“This resembles QuickCheck’s [13] or Gast’s [27] modelbased testing, but uses symbolic techniques.”
MethodTesting an optimising compiler by generating random lambda terms
Palka, M. H., Claessen, K., Russo, A., & Hughes, J. (2011) · International Conference/Workshop on Automation of Software Test · doi:10.1145/1982595.1982615 · Cited by 111
“With this in mind, we establish a phase of shrinking [3] for failing test cases.”
Self-citationAntoy, S., & Hanus, M. (2010) · Communications of the ACM · doi:10.1145/1721654.1721675 · Cited by 153
Automated Fixing of Programs with Contracts
Pei, Y., Furia, C. A., Nordio, M., Wei, Y., Meyer, B., & Zeller, A. (2014) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2014.2312918 · Cited by 150
Chen, Y., Groce, A., Zhang, C., Wong, W.-K., Fern, X., Eide, E., & Regehr, J. (2013) · Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2491956.2462173 · Cited by 145
“Several random testers that have been used in practice, including McKeeman’s C compiler fuzzer [24] and QuickCheck [6], have included built-in support for greedily reducing the size of failure-inducing inputs.”
MethodJQF: coverage-guided property-based testing in Java
Padhye, R., Lemieux, C., & Sen, K. (2019) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3293882.3339002 · Cited by 141
Controllable Combinatorial Coverage in Grammar-Based Testing
Lämmel, R., & Schulte, W. (2006) · Lecture notes in computer science · doi:10.1007/11754008_2 · Cited by 138
“The approach comprises techniques for the provision of test-data generators for Haskell types including algebraic data types (‘signatures’).”
BackgroundScrap your boilerplate with class: extensible generic functions
Lämmel, R., & Jones, S. (2005) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1086365.1086391 · Cited by 137
Intent fuzzer: crafting intents of death
Sasnauskas, R., & Regehr, J. D. (2014) · doi:10.1145/2632168.2632169 · Cited by 136
“QuickCheck: a lightweight tool for random testing of Haskell programs.”
MethodInfluentialEffective random testing of concurrent programs
Sen, K. (2007) · doi:10.1145/1321631.1321679 · Cited by 133
“Random testing [1, 4, 5, 12, 18, 19, 23, 24] (or fuzz testing) is widely used to test sequential programs.”
BackgroundDecision procedures for algebraic data types with abstractions
Suter, P., Dotta, M., & Kunčak, V. (2010) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/1706299.1706325 · Cited by 132
QuickCheck Testing for Fun and Profit
Hughes, J. (2006) · Lecture notes in computer science · doi:10.1007/978-3-540-69611-7_1 · Cited by 132
Self-citationLineage-driven Fault Injection
Alvaro, P., Rosen, J., & Hellerstein, J. M. (2015) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2723372.2723711 · Cited by 136
“However, our approach is compatible with a wide variety of techniques for exploring system inputs, including software unit testing, symbolic execution [18,72] and input generation [6,22].”
BackgroundTroubleshooting 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 Conference (SIGCOMM) · doi:10.1145/2619239.2626304 · Cited by 126
Skeletal program enumeration for rigorous compiler testing
Zhang, Q., Sun, C. P., & Su, Z. (2017) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3062341.3062379 · Cited by 126
Automatic Proof and Disproof in Isabelle/HOL
Blanchette, J. C., Bulwahn, L., & Nipkow, T. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-24364-6_2 · Cited by 121
“Quickcheck was originally modeled after the QuickCheck tool for Haskell [14], which tests user-supplied properties of a Haskell program for randomly generated values .”
MethodInfluentialUsing Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3
Bornholt, J., Joshi, R., Astrauskas, V., Cully, B., Kragl, B., Markle, S., Sauri, K., Schleit, D., Slatton, G., Taşiran, S., et al. (2021) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3477132.3483540 · Cited by 119
Elle: inferring isolation anomalies from experimental observations
Kingsbury, K., & Alvaro, P. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3430915.3430918 · Cited by 118
Directed test generation using symbolic grammars
Majumdar, R., & Xu, R.-G. (2007) · doi:10.1145/1321631.1321653 · Cited by 117
“Our tool can use any specification-testing technique that generates strings such as [25, 22, 35, 26, 34, 7, 9].”
MethodDependency Versioning in the Wild
Dietrich, J. B., Pearce, D. J., Stringer, J., Tahir, A., & Blincoe, K. (2019) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2019.00061 · Cited by 114
“Of course, testing provides some capability here [5] but, due to its inherent unsoundness, may easily miss violations.”
BackgroundDeriving Semantics-Aware Fuzzers from Web API Schemas
Hatfield-Dodds, Z., & Dygalo, D. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510454.3528637 · Cited by 108
Gramatron: effective grammar-aware fuzzing
Srivastava, P., & Payer, M. (2021) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3460319.3464814 · Cited by 106
“Zest [31] performs coverage-guided fuzzing using user-specified Quickchecklike [7] input generators.”
MethodGenetic Algorithms for Randomized Unit Testing
Andrews, J. H., Menzies, T., & Li, F. C. H. (2011) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2010.46 · Cited by 103
“Many researchers [2], [3], [6], [7], [8], [9], [10] have performed randomized unit testing, sometimes combined with other tools such as model checkers.”
BackgroundGast: Generic Automated Software Testing
Koopman, P., Alimarine, A., Tretmans, J., & Plasmeijer, R. (2003) · Lecture notes in computer science · doi:10.1007/3-540-44854-3_6 · Cited by 103
“QuickCheck provides a similar implication combinator.”
MethodInfluentialA PropEr integration of types and function specifications with property-based testing
Papadakis, M., & Sagonas, K. (2011) · ACM SIGPLAN Workshop on Erlang (Erlang) · doi:10.1145/2034654.2034663 · Cited by 102
Finding errors in .net with feedback-directed random testing
Pacheco, C., Lahiri, S. K., & Ball, T. (2008) · International Symposium on Software Testing and Analysis · doi:10.1145/1390630.1390643 · Cited by 102
Relay: a new IR for machine learning frameworks
Roesch, J., Lyubomirsky, S., Weber, L., Pollock, J., Kirisame, M., Chen, T., & Tatlock, Z. (2018) · Proceedings of the 2nd ACM SIGPLAN International Workshop on Machine Learning and Programming Languages · doi:10.1145/3211346.3211348 · Cited by 101
Fuzzing and delta-debugging SMT solvers
Brummayer, R., & Biere, A. (2009) · Proceedings of the 7th International Workshop on Satisfiability Modulo Theories · doi:10.1145/1670412.1670413 · Cited by 101
Run your research: on the effectiveness of lightweight mechanization
Klein, C., Clements, J., Dimoulas, C., Eastlund, C., Felleisen, M., Flatt, M., McCarthy, J. A., Rafkind, J., Tobin-Hochstadt, S., & Findler, R. B. (2012) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/2103656.2103691 · Cited by 101
“QuickCheck: a lightweight tool for random testing of Haskell programs.”
InfluentialAmelung, M., Krieger, K., & Rösner, D. (2010) · IEEE Transactions on Learning Technologies · doi:10.1109/tlt.2010.24 · Cited by 102
“Another backend for Haskell uses QuickCheck [30] for testing Haskell programs automatically.”
MethodAsk-Elle: an Adaptable Programming Tutor for Haskell Giving Automated Feedback
Gerdes, A., Heeren, B., Jeuring, J., & van Binsbergen, L. T. (2017) · International Journal of Artificial Intelligence in Education · doi:10.1007/s40593-015-0080-x · Cited by 96
“A configuration file is a Haskell source file that contains a task description together with a list of QuickCheck (Claessen and Hughes 2000) properties for the exercise.”
MethodInfluentialLVars: lattice-based data structures for deterministic parallelism
Kuper, L., & Newton, R. (2013) · Functional High-Performance Computing · doi:10.1145/2502323.2502326 · Cited by 95
An Empirical Study on the Selection of Good Metamorphic Relations
Mayer, J., & Guderlei, R. (2006) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2006.24 · Cited by 94
“…can be detected by MR2 with several input-output tuples can be detected by MR1 with only just one input-output tuple if MR1 is mathematically Proceedings of the 30th Annual International Computer Software and Applications Conference (COMPSAC'06) 0-7695-2655-1/06 $20.00 © 2006 stronger than MR2.”
BackgroundInfluentialScrap more boilerplate: reflection, zips, and generalised casts
Lämmel, R., & Jones, S. (2004) · ACM SIGPLAN Notices · doi:10.1145/1016848.1016883 · Cited by 94
Can Large Language Models Write Good Property-Based Tests?Preprint
Vikram, V., Lemieux, C., Sunshine, J. S., & Padhye, R. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2307.04346 · Cited by 95
“PBT was first popularized by the Quickcheck [1] library in Haskell, and has used to find a plethora of bugs in a variety of real-world software [2], [3], [4], [5].”
BackgroundRefinement reflection: complete verification with SMT
Vazou, N., Tondwalkar, A., Choudhury, V., Scott, R. G., Newton, R., Wadler, P., & Jhala, R. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3158141 · Cited by 91
“when doing a proof-by-case-analysis we can easily find suitable concrete values via random [13] or SMT-guided generation [45].”
MethodQuickSpec: Guessing Formal Specifications Using Testing
Claessen, K., Smallbone, N., & Hughes, J. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-13977-2_3 · Cited by 88
“Our earlier work on the random testing tool QuickCheck [2] follows this direction.”
MethodSelf-citationTargeted greybox fuzzing with static lookahead analysis
Wüstholz, V., & Christakis, M. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380388 · Cited by 87
Foundations of Probabilistic Programming
Dahlqvist, F., Silva, A., Kozen, D. C., Staton, S., Huang, D., Morrisett, G., Spitters, B., Lago, U. D., Barthe, G., Hsu, J., et al. (2020) · Cambridge University Press eBooks · doi:10.1017/9781108770750 · Cited by 89
Self-citationA functional I/O system or, fun for freshman kids
Felleisen, M., Findler, R. B., Flatt, M., & Krishnamurthi, S. (2009) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1596550.1596561 · Cited by 86
Property-Based Testing in Practice
Goldstein, H., Cutler, J. W., Dickstein, D., Pierce, B. C., & Head, A. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3639581 · Cited by 86
Finding race conditions in Erlang with QuickCheck and PULSE
Claessen, K., Pałka, M. H., Smallbone, N., Hughes, J., Svensson, H., Arts, T., & Wiger, U. T. (2009) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1596550.1596574 · Cited by 83
Self-citationThe Use of Likely Invariants as Feedback for Fuzzers
Fioraldi, A., D’Elia, D. C., & Balzarotti, D. (2021) · IRIS Research product catalog (Sapienza University of Rome) · Cited by 81
Model-based testing for real: The inhouse card case study
Pretschner, A., Slotosch, O., Aiglstorfer, E., & Kriebel, S. (2004) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-003-0128-3 · Cited by 79
“Types, however, are taken into account in the QuickCheck tool for (functional) Haskell programs [9].”
MethodEvolving patches for software repair
Ackling, T., Alexander, B., & Grunert, I. (2011) · Genetic and Evolutionary Computation Conference (GECCO) · doi:10.1145/2001576.2001768 · Cited by 78
“These include automatic test generators[6, 7], algorithms that assess the quality of tests[26].”
MethodThe Scalable Commutativity Rule: Designing Scalable Software for Multicore Processors
Clements, A. T., Kaashoek, M. F., Zeldovich, N., Morris, R., & Kohler, E. (2015) · ACM Transactions on Computer Systems · doi:10.1145/2699681 · Cited by 78
Comparing libraries for generic programming in haskell
Yakushev, A. R., Jeuring, J. T., Jansson, P., Gerdes, A., Kiselyov, O., & Oliveira, B. C. D. S. (2008) · International Symposium on Haskell · doi:10.1145/1411286.1411301 · Cited by 77
“QuickCheck [Claessen and Hughes, 2000] is a popular tool that supports automatic testing of properties of programs.”
MethodRobinson, B., Ernst, M. D., Perkins, J. H., Augustine, V., & Li, N. (2011) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2011.6100059 · Cited by 76
Feat: functional enumeration of algebraic types
Duregård, J., Jansson, P., & Wang, M. (2012) · doi:10.1145/2364506.2364515 · Cited by 76
“Related Work SmallCheck, Lazy SmallCheck and QuickCheck Our work is heavily in.uenced by the property based testing frameworks QuickCheck [Claessen and Hughes 2000] and SmallCheck [Runci man et al. 2008].”
BackgroundMethodInfluentialRun your research: on the effectiveness of lightweight mechanization
Klein, C., Clements, J., Dimoulas, C., Eastlund, C., Felleisen, M., Flatt, M., McCarthy, J. A., Rafkind, J., Tobin-Hochstadt, S., & Findler, R. B. (2012) · ACM SIGPLAN Notices · doi:10.1145/2103621.2103691 · Cited by 76
Scrap more boilerplate: reflection, zips, and generalised casts
Lämmel, R., & Jones, S. (2004) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1016850.1016883 · Cited by 76
“For instance, we ca n use systematic test-data generation as a plug-in for QuickChec k [3].”
MethodSteinhöfel, D., & Zeller, A. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3549139 · Cited by 75
“Pioneered by QuickCheck [2], PropertyBased Testing (PBT) produces data structures of the host language to test individual functions against user-defined properties.”
BackgroundAutoPandas: neural-backed generators for program synthesis
Bavishi, R., Lemieux, C., Fox, R., Sen, K., & Stoica, I. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360594 · Cited by 73
All Your IFCException Are Belong to Us
Hriţcu, C., Greenberg, M., Karel, B., Pierce, B. C., & Morrisett, G. (2013) · IEEE Symposium on Security and Privacy (S&P) · doi:10.1109/sp.2013.10 · Cited by 73
“Property-based random testing [9] with a focus on label coverage is an interesting direction for future work.”
BackgroundMethodAn Empirical Study of Functional Bugs in Android Apps
Xiong, Y., Xu, M., Su, T., Sun, J., Wang, J., Wen, H., Pu, G., He, J., & Su, Z. (2023) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3597926.3598138 · Cited by 72
Flask: staged functional programming for sensor networks
Mainland, G., Morrisett, G., & Welsh, M. (2008) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1411204.1411251 · Cited by 72
Uniform boilerplate and list processing
Mitchell, N., & Runciman, C. (2007) · doi:10.1145/1291201.1291208 · Cited by 71
“For all data types we generate 100 values at random using QuickCheck (Claessen and Hughes 2000).”
MethodOury, N., & Swierstra, W. (2008) · ACM SIGPLAN Notices · doi:10.1145/1411203.1411213 · Cited by 72
“Functional programming found new applications in randomised testing (Claessen and Hughes 2000), financial markets (Peyton Jones et al. 2000), server side webscripting (Thiemann 2004), hardware design (Bjesse et al. 1998), and reactive programming (Nilsson et al. 2002).”
BackgroundIntegrating Testing and Interactive Theorem Proving
Chamarthi, H. R., Dillinger, P. C., Kaufmann, M., & Manolios, P. (2011) · Electronic Proceedings in Theoretical Computer Science · doi:10.4204/eptcs.70.1 · Cited by 71
From C to interaction trees: specifying, verifying, and testing a networked server
Koh, N. C. H., Li, Y., Li, Y., Xia, L.-Y., Beringer, L., Honoré, W., Mansky, W., Pierce, B. C., & Zdancewic, S. (2019) · ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP) · doi:10.1145/3293880.3294106 · Cited by 72
d’Amorim, M., Pacheco, C., Xie, T., Marinov, D., & Ernst, M. D. (2006) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2006.13 · Cited by 71
“The tools should allow the users to provide heuristics for selection [5].”
MethodHughes, J. (2005) · Lecture notes in computer science · doi:10.1007/11546382_2 · Cited by 70
“Another example is the random generation " monad " used in our QuickCheck [4] testing tool, with which terms equivalent by the monad laws may generate different random values — but with the same distribution.”
BackgroundMethodInfluentialSelf-citationMinimization of Randomized Unit Test Cases
Yong, L., & Andrews, J. H. (2006) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2005.28 · Cited by 69
“This technique has been known for years in specific domains, like compiler testing [1] and functional program testing [2], and our previous research has quantified some benefits of it [3], [4].”
MethodA Holistic View of AI-driven Network Incident Management
Hamadanian, P., Arzani, B., Fouladi, S., Kakarla, S. K. R., Fonseca, R., Billor, D., Cheema, A., Nkposong, E., & Chandra, R. (2023) · ACM Workshop on Hot Topics in Networks (HotNets) · doi:10.1145/3626111.3628176 · Cited by 69
Testing AUTOSAR software with QuickCheck
Arts, T., Hughes, J., Norell, U., & Svensson, H. (2015) · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · doi:10.1109/icstw.2015.7107466 · Cited by 67
“III, we outline our approach based on QuickCheck [2], [3] models, from which large sets of random test sequences are generated.”
MethodSelf-citationKöksal, A. S., Kunčak, V., & Suter, P. (2012) · ACM SIGPLAN Notices · doi:10.1145/2103621.2103675 · Cited by 66
Automated Test Generation and Mutation Testing for Alloy
Sullivan, A., Wang, K., Zaeem, R. N., & Khurshid, S. (2017) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2017.31 · Cited by 66
“Moreover, in the context of functional programs, e.g., in Haskell, automated testing is common practice [9].”
Flask: staged functional programming for sensor networks
Mainland, G., Morrisett, G., & Welsh, M. (2008) · ACM SIGPLAN Notices · doi:10.1145/1411203.1411251 · Cited by 64
“…new first class operations is not unique to Flask; it is a mainstay of the functional programming literature and has resulted in many powerful systems, from parsing combinators (Hutton 1992) to evaluation of financial contracts (Jones et al. 2000) to program testing (Claessen and Hughes 2000).”
BackgroundMethodBeginner's luck: a language for property-based generators
Lampropoulos, L., Gallois-Wong, D., Hriţcu, C., Hughes, J., Pierce, B. C., & Xia, L.-Y. (2017) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/3009837.3009868 · Cited by 64
“In QuickCheck notation:”
BackgroundMethodInfluentialSelf-citationOury, N., & Swierstra, W. (2008) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1411204.1411213 · Cited by 64
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.