shlogg · Early preview
Donald Johnson @copyleftdev

Property Testing For Resilient Software

Property testing ensures critical invariants hold for every possible input by defining invariants, logging metadata, and generating diverse test cases.

Repository: divvysim


Property testing has revolutionized my approach to quality assurance in modern software development. Instead of writing fixed input–output examples, I declare the invariants my system must uphold for every possible input. In the DivvySim project, this approach has been instrumental in verifying that complex monetary calculations—such as equitably splitting an amount among multiple recipients—are both accurate and robust.
In this article, I detail my meta-level strategy and share real examples from DivvySim. My goal is to provide fellow testers and researchers with both t...