Learn Python with Talk Python's 270 hours of courses

Validating Python tests with mutation testing

Episode #63, published Thu, Jun 16, 2016, recorded Wed, Jun 15, 2016

Do you think it's a good idea to test your software? Do you write unit tests or other automated verification for code? I think most of us do these days. A key question is how do you know whether your tests sufficiently verify your code? The standard answer is code coverage.

But there is a difference between executing code (which code coverage measures) and truly verifying it.

On this episode, we'll talk with Austin Bingham. He created a mutation testing framework for Python that goes beyond code coverage to actually perform this verification. It's a fresh and powerful idea. I hope you enjoy it!

Links from the show:

Cosmic ray on Github: github.com/sixty-north/cosmic-ray
Cosmic ray on PyPI: pypi.python.org/pypi/cosmic_ray
TinyDB: tinydb.readthedocs.io
TinyDB on Github: github.com/msiemens/tinydb
Austin on Twitter: @austin_bingham
Sixty North: sixty-north.com
The Python Apprentice book:
leanpub.com/python-apprentice
50% off coupon for apprentice book:
leanpub.com/python-apprentice/c/talk-python-to-me
The Python Journeyman book:
leanpub.com/python-journeyman
The Python Master:
leanpub.com/python-master


Want to go deeper? Check out our courses

Talk Python's Mastodon Michael Kennedy's Mastodon