3 ms·
Property based testing, e.g. http://hypothesis.readthedocs.io/en/latest/ http://hypothesis.readthedocs.io/en/latest/ for Python, can help get lots of coverage w
by itamarst 9y ago
Property based testing, e.g. http://hypothesis.readthedocs.io/en/latest/ http://hypothesis.readthedocs.io/en/latest/ for Python, can help get lots of coverage with less effort. Works better in some domains than others.
I can't say percentage because sometimes I spend days on tests, sometimes I write no tests. (https://www.youtube.com/watch?v=Vaq_e7qUA-4&feature=youtu.be&t=63s https://www.youtube.com/watch?v=Vaq_e7qUA-4&feature=youtu.be... is my attempt to explain how I decide.)