We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Mutants, tests and zombies

Formal Metadata

Title
Mutants, tests and zombies
Subtitle
aka mutation testing with Python and a pinch of Ruby
Title of Series
Number of Parts
611
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production Year2017

Content Metadata

Subject Area
Genre
Abstract
Mutation testing is a technique in which the software under test is modifiedin a controlled manner to produce a mutant. Then test cases are executedagainst each mutant. This helps answer the question "How good is our testsuite?". For example if we have made the following change: - if A and B: + if A or B: and our test suite reports a PASS result that means we are not doing a goodjob at detecting possible errors. I have been using mutation testing for production grade software in bothPython and Ruby and I'm also the most active contributor to Cosmic Ray, themutation testing tool for Python. In this talk I will explain how mutationtesting works and what it can be used for. I will give practical examples ofcode which wasn't tested and how to test it and also examples of bugs thatI've found. I will also mention some differences between the Python and Rubytools.