Re: Property-based "fuzzy" testing (Hypothesis) in Django

2020-02-24 Thread Elena Williams
Heya Adam, Amazing! Thank you! You're correct that it's slower. I'd completely forgotten about FactoryBoy! though used it a fair bit a few years ago. Interesting to note that the original ruby project renamed itself to FactoryBot ("o

Re: Property-based "fuzzy" testing (Hypothesis) in Django

2020-02-21 Thread Adam Johnson
Hi Elena, I like fuzz testing and how Hypothesis does it. I have used it on a couple of projects and it always found bugs. In fact it was my first Pycon that I sat with David and sprinted on adding it to a project :) That said I've always found it quite a leap from straightforward tests, being sl

Re: Property-based "fuzzy" testing (Hypothesis) in Django

2020-02-20 Thread Elena Williams
(Goodness, we're always reserved about our own work.) Yabbering further with Zac having sent this email, it become evident I didn't include the link to my personal guide for Hypothesis testing for Django Users that started all this. It's er, quite different, from the official docs and probably more

Property-based "fuzzy" testing (Hypothesis) in Django

2020-02-20 Thread Elena Williams
Dear Django dev community, More and more of the python ecosystem is implementing property-based testing to find difficult and counter-intuitive edge cases using the library hypothesis: https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python For example testing using hypothesis