property-based_testing
This is an old revision of the document!
Source: Software Testing course at ITMO university by Kochubeev Nikolay Sergeevich
Property-based testing
PBT is an approach to testing in which we test the properties of a function rather than individual examples. Instead of a single test with specific input data, the framework generates hundreds of random cases.
Strengths of PBT
- Finds hidden bugs that are not covered by specific tests.
- Expresses the behavior of the system through properties.
- Automatically generates hundreds of inputs.
- Reduces the risk of “bias”, when tests check only “convenient” cases.
property-based_testing.1757445415.txt.gz · Last modified: by plida
