Bulletproof Python

Add property-based testing to your development toolbox and impress your co-workers with unbreakable code.

Your email will only be used to send information about Bulletproof Python. It will not be shared and you can unsubscribe at any time.
Book cover of Bulletproof Python depicting a green snake on a tree branch

Property-Based Testing with Hypothesis

Are you annoyed having to adjust a truck load of copied and pasted tests for a tiny change in production code? Do you hate that your software breaks in unexpected ways in spite the enormous amount of tests you frequently write?

Bulletproof Python: Property-Based Testing with Hypothesis equips you with an effective technique to improve the robustness of software while at the same time making it easier to maintain.

Why did you write this book?

As a Python consultant I had the pleasure to work with many different teams in various industries. None of them practiced property-based testing and only a handful of them were familiar with the concept. When they were introduced to the basics and the appropriate tools, every single team embraced property-based testing, because they recognized its positive effect on software robustness and code maintainability.

The concept of PBT has been around for some time, but the available learning resources for Python developers are limited. This is the first book to provide a comprehensive introduction to property-based testing in Python.

Is this book for me?

If you're a Python developer that takes pride in their craftsmanship and you want to take your software from annoying to bulletproof, this book is for you.

What do I get?

Bulletproof Python: Property-Based Testing with Hypothesis strikes a balance between practical information on the Hypothesis testing framework and language-agnostic concepts. The material includes:

  • An introduction to the general concept of property-based testing
  • Code examples in Python using the Hypothesis framework
  • Exercises for self-study

I want it!

Get notified when a new chapter is out

Your email will only be used to send information about Bulletproof Python. It will not be shared and you can unsubscribe at any time.