Normal “automated” software testing is surprisingly manual. Every scenario the computer runs, someone had to write by hand. Hypothesis can fix this.
Hypothesis is a new generation of tools for automating your testing process. It combines human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests.
Don’t believe us? Here’s what some of our users have to say:
At Lyst we've used it in a wide variety of situations, from testing APIs to machine learning algorithms and in all cases it's given us a great deal more confidence in that code.
When it comes to validating the correctness of your tools, nothing comes close to the thoroughness and power of Hypothesis.
Hypothesis has been brilliant for expanding the coverage of our test cases, and also for making them much easier to read and understand, so we’re sure we’re testing the things we want in the way we want.
Hypothesis has located real defects in our code which went undetected by traditional test cases, simply because Hypothesis is more relentlessly devious about test case generation than us mere humans!
See more at our testimonials page.
What is Hypothesis?
Hypothesis is a modern implementation of property based testing, designed from the ground up for mainstream languages.
Hypothesis runs your tests against a much wider range of scenarios than a human tester could, finding edge cases in your code that you would otherwise have missed. It then turns them into simple and easy to understand failures that save you time and money compared to fixing them if they slipped through the cracks and a user had run into them instead.
Hypothesis currently has a fully featured open source Python implementation and a proof of concept Java implementation that we are looking for customers to partner with to turn into a finished project. Plans for C and C++ support are also in the works.
How do I use it?
Hypothesis integrates into your normal testing workflow. Getting started is as simple as installing a library and writing some code using it - no new services to run, no new test runners to learn.
Once you’ve got started, or if you have a large number of people who want to get started all at once, you may wish to engage our training services.
If you still want to know more, sign up to our newsletter to get an email every 1-2 weeks about the latest and greatest Hypothesis developments and how to test your software better.