Mutation Testing in Python • Austin Bingham • GOTO 2015

4,050 views · Published 21 October 2015 · 44:43 · Indexed 4 November 2026

Channel: GOTO Conferences · 2015 · Science & Technology

Watch on YouTube

This presentation was recorded at GOTO Copenhagen 2015
http://gotocph.com

Austin Bingham - Founder and Technical Director at Sixty North AS

ABSTRACT
Mutation testing is a technique for systematically mutating source code in order to validate test suites. It makes small changes to a program’s source code and then runs a test suite; if the test suite ever succeeds on mutated code then a flag is raised. I’ll begin this talk with a description of the theory behind [...]

Download slides and read the full abstract here:
http://gotocon.com/cph-2015/presentation/Mutation%20Testing%20in%20Python

TIMECODES
0:00 Introduction
3:27 What is mutation testing?
4:38 Basic algorithm
5:12 What does mutation testing tell us?
7:31 Goal #1: Coverage analysis
8:29 Goal #2: Detect unnecessary code
10:03 Examples of mutations
12:56 It takes a loooooooong time
15:51 Incompetence detection
17:12 Equivalent mutants
19:54 Cosmic Ray operates on packages
22:25 Test system plugins
25:10 Operators
26:15 Example operator: Reverse unary subtraction
27:02 Module management: overview
29:03 Module management: Finder
30:47 Module management: Loader
31:33 multiprocessing
35:30 asyncio
36:03 Operational overview

https://twitter.com/gotocph
https://www.facebook.com/GOTOConference
http://gotocon.com
#Python #MutationTesting #PythonProgramming 

Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech
Sign up for updates and specials at https://gotopia.tech/newsletter

More from this channel