Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't understand what benefit the hypothesis library gives here? Why can't you just generate values without hypothesis and call the test function with your values "manually"?


The cool thing is that hypothesis tries to build minimal examples that make your test fail.


The magic is in the "strategies"? How does it do that? And does it have a memory between test runs?





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: