Multiply your Testing Effectiveness with Parameterized Testing

Abstract

Parametrization is one of the superpowers of pytest. It allows you to cover a huge number of test cases with a single test function. This speeds up test writing and makes test maintenance easier. This talk is a medium depth dive into pytest parametrization, with techniques you can use right away.

Talk Description

There are many reasons I want to give this talk:

Code examples and discussion take up most of the rest of the talk. These are all simple transitions from one form to another, but leaving up the code and going kinda slow through each stage makes it easier to digest.

Outline:

About the Talk