Mutation Testing in Python
Offered By: GOTO Conferences via YouTube
Course Description
Overview
Explore mutation testing in Python through this 45-minute conference talk from GOTO Copenhagen 2015. Dive into the theory and practice of systematically mutating source code to validate test suites. Learn about the basic algorithm, goals, and benefits of mutation testing, including coverage analysis and detecting unnecessary code. Examine examples of mutations, discuss challenges like long execution times and equivalent mutants, and understand the Cosmic Ray tool for package-level mutation testing. Discover test system plugins, mutation operators, and module management techniques. Gain insights into multiprocessing and asyncio implementations for improved performance. Follow along with a comprehensive operational overview to enhance your understanding of this powerful testing technique for Python developers.
Syllabus
Introduction
What is mutation testing?
Basic algorithm
What does mutation testing tell us?
Goal #1: Coverage analysis
Goal #2: Detect unnecessary code
Examples of mutations
It takes a loooooooong time
Incompetence detection
Equivalent mutants
Cosmic Ray operates on packages
Test system plugins
Operators
Example operator: Reverse unary subtraction
Module management: overview
Module management: Finder
Module management: Loader
multiprocessing
asyncio
Operational overview
Taught by
GOTO Conferences
Related Courses
Supercharged Web Scraping with Asyncio and PythonUdemy 爬虫基础教学 Python Scraping 教程
YouTube Python Asynchronous Programming - AsyncIO and Async-Await
Tech with Tim via YouTube Python Django, Aiohttp Workshop: Cooking Secret Note service
Udemy Learn Advanced Python 3: Concurrency
Codecademy