All Talks

Escape from auto-manual testing with Hypothesis!

If we knew all of the bugs we needed to write tests for, wouldn’t we just… not write the bugs? So how can testing find bugs that nobody would think of? The answer is to have a computer *write your tests for you!* You declare what kind of input should work - from ‘an integer’ to ‘matching this regex’ to ‘this Django model’ and write a test which should always pass… then Hypothesis searches for the smallest inputs that cause an error. If …

You might be interested in: