Further reading
The ideas on these pages are older than proptastic. When you want the reasoning behind a pattern, or the evidence that it finds bugs, these are the sources. Each is listed once, with a line on what it’s for; the other pages point here.
Property-based testing
Section titled “Property-based testing”Claessen and Hughes, 2000
Section titled “Claessen and Hughes, 2000”Koen Claessen and John Hughes. “QuickCheck: A Lightweight Tool for Random Testing of Haskell Programs.” Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming (ICFP 2000), pages 268–279. doi:10.1145/351240.351266
The paper that started property-based testing: properties written as code, random inputs, and a counterexample when one fails. Its first examples include a round trip: reversing a list twice gives the list back.
Hughes, 2016
Section titled “Hughes, 2016”John Hughes. “Experiences with QuickCheck: Testing the Hard Stuff and Staying Sane.” In A List of Successes That Can Change the World: Essays Dedicated to Philip Wadler, Lecture Notes in Computer Science 9600, pages 169–186. Springer, 2016. doi:10.1007/978-3-319-30936-1_9
Properties on real systems: testing stateful code against a model, run as a sequence of operations, and the bugs it found in industry. The background to the invariant and compare with a reference pages.
Hughes, 2020
Section titled “Hughes, 2020”John Hughes. “How to Specify It! A Guide to Writing Properties of Pure Functions.” In Trends in Functional Programming (TFP 2019), Lecture Notes in Computer Science 12053, pages 58–83. Springer, 2020. doi:10.1007/978-3-030-47147-7_4
How to choose what to check. It compares five kinds of property (invariants, postconditions, metamorphic properties, inductive properties and model-based properties) by how many of eight buggy implementations each one catches. The best guide to the patterns as a whole.
Shrinking
Section titled “Shrinking”MacIver and Donaldson, 2020
Section titled “MacIver and Donaldson, 2020”David R. MacIver and Alastair F. Donaldson. “Test-Case Reduction via Test-Case Generation: Insights from the Hypothesis Reducer.” In 34th European Conference on Object-Oriented Programming (ECOOP 2020), Leibniz International Proceedings in Informatics 166, pages 13:1–13:27. doi:10.4230/LIPIcs.ECOOP.2020.13
Shrinking the sequence of choices a test drew, rather than the values made from them, so every smaller input is one the domain could have drawn. Shrinking says how proptastic shrinks the same way.
Targeted testing
Section titled “Targeted testing”Löscher and Sagonas, 2017
Section titled “Löscher and Sagonas, 2017”Andreas Löscher and Konstantinos Sagonas. “Targeted Property-Based Testing.” In Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2017), pages 46–56. doi:10.1145/3092703.3092711
Giving each try a score and searching toward the highest, so a property reaches inputs random tries rarely draw. Targeted tries is proptastic’s.
Coverage-guided fuzzing
Section titled “Coverage-guided fuzzing”Padhye et al., 2019
Section titled “Padhye et al., 2019”Rohan Padhye, Caroline Lemieux, Koushik Sen, Mike Papadakis and Yves Le Traon. “Semantic Fuzzing with Zest.” In Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA 2019), pages 329–340. doi:10.1145/3293882.3330576
Coverage-guided search over the choices a generator makes, not the bytes of an input, so every input it tries is one the generator could make. Coverage-guided fuzzing is proptastic’s.
Keles et al., 2026
Section titled “Keles et al., 2026”Alperen Keles, Jessica Shi, Nikhil Kamath, Tin Nam Liu, Ceren Mert, Harrison Goldstein, Benjamin C. Pierce and Leonidas Lampropoulos. “Etna: An Evaluation Platform for Property-Based Testing.” Journal of Functional Programming 36, 2026. doi:10.46298/jfp.17867
Many ways of generating inputs, run over the same set of injected bugs ten times each: generators written for the job, which build only valid inputs, solved every task, and coverage-guided fuzzers “exhibit more variance” from run to run. Coverage-guided fuzzing says what that means for when to search.
Metamorphic testing and test oracles
Section titled “Metamorphic testing and test oracles”Chen, Cheung and Yiu, 1998
Section titled “Chen, Cheung and Yiu, 1998”T. Y. Chen, S. C. Cheung and S. M. Yiu. “Metamorphic Testing: A New Approach for Generating Next Test Cases.” Technical Report HKUST-CS98-01, Department of Computer Science, The Hong Kong University of Science and Technology, 1998. Posted as arXiv:2002.12543 in 2020.
Where metamorphic testing began: new tests made from tests that passed, by a relation the outputs must keep, for when no one can say what the right output is.
Segura et al., 2016
Section titled “Segura et al., 2016”Sergio Segura, Gordon Fraser, Ana B. Sanchez and Antonio Ruiz-Cortés. “A Survey on Metamorphic Testing.” IEEE Transactions on Software Engineering 42(9), pages 805–824, 2016. doi:10.1109/TSE.2016.2532875
A survey of the metamorphic relations people have used, and the kinds of software they found bugs in.
Chen et al., 2018
Section titled “Chen et al., 2018”Tsong Yueh Chen, Fei-Ching Kuo, Huai Liu, Pak-Lok Poon, Dave Towey, T. H. Tse and Zhi Quan Zhou. “Metamorphic Testing: A Review of Challenges and Opportunities.” ACM Computing Surveys 51(1), article 4, 2018. doi:10.1145/3143561
Twenty years on, by the method’s founders: how to find good relations, and what’s still open.
Barr et al., 2015
Section titled “Barr et al., 2015”Earl T. Barr, Mark Harman, Phil McMinn, Muzammil Shahbaz and Shin Yoo. “The Oracle Problem in Software Testing: A Survey.” IEEE Transactions on Software Engineering 41(5), pages 507–525, 2015. doi:10.1109/TSE.2014.2372785
The problem every pattern answers: knowing whether an output is right. It surveys the ways round it, from a reference implementation to metamorphic relations.
An introduction
Section titled “An introduction”Wlaschin, 2014
Section titled “Wlaschin, 2014”Scott Wlaschin. “Choosing properties for property-based testing.” F# for Fun and Profit, 12 December 2014.
A friendly tour of the patterns, under memorable names: “there and back again” for a round trip, “the more things change, the more they stay the same” for idempotence, “different paths, same destination” for commutativity, “some things never change” for an invariant, and “the test oracle” for comparing with a reference. A good first read before the papers.