4 ms·
This is awesome, I'm excited to see more attention being paid to property-based testing, and MacIver deserves to be rewarded and supported for his past and ongo
by laughinghan 9y ago
This is awesome, I'm excited to see more attention being paid to property-based testing, and MacIver deserves to be rewarded and supported for his past and ongoing work on Hypothesis.
When I first encountered property-based testing, I had some trouble coming up with interesting properties to test, since I was so used to thinking in terms of individual test cases. This blogpost surveys some great starting points for identifying useful properties to test: https://fsharpforfunandprofit.com/posts/property-based-testing-2/ https://fsharpforfunandprofit.com/posts/property-based-testi...
- hwayne 9y agoIf you're interested I've written some stuff on property testing with oracle functions: https://www.hillelwayne.com/post/hypothesis-oracles/ https://www.hillelwayne.com/post/hypothesis-oracles/
- mononcqc 9y agoI've tried to explain how I tend to come up with properties in my own proptests in http://propertesting.com/book_what_is_a_property.html http://propertesting.com/book_what_is_a_property.html -- this could prove useful as well.
- m-j-fox 9y agoSure but it's a lot of hype for porting QuickCheck to Python. So glad the rest of you caught on 10 years later.
- StavrosK 9y agoIf only you had taken the initiative to do it earlier!