flatironinstitute / ccn-template

Template repository for CCN software projects
https://ccn-template.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Describe property-based testing #30

Open billbrod opened 11 months ago

billbrod commented 11 months ago

Hypothesis implements property-based testing, which basically generates a whole bunch of tests that usually trip up code (e.g., testing empty inputs, zero, etc). Worth describing, even if we can't implement it here. This is a good example.

billbrod commented 11 months ago

On same change, might be worth linking this lesson, which I found a good way of learning about test-driven development