#property-based-testing

[ follow ]
fromNedbatchelder
1 day ago
Software development

A testing conundrum

A fingerprinting Hasher class handles nested Python data by canonicalizing unordered containers to produce stable hashes, but property-based testing with Hypothesis proved challenging.
fromInfoQ
1 month ago

Beyond Accidental Quality: Finding Hidden Bugs with Generative Testing

Automated tests are the cornerstone of modern software development. They ensure that every time we build new functionalities, we do not break existing features our users rely on. Traditionally, we tackle this with example-based tests. We list specific scenarios (or test cases) that verify the expected behaviour. In a banking application, we might write a test to assert that transferring $100 to a friend's bank account changes their balance from $180 to $280.
Software development
[ Load more ]