Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Fixtures Meets Parameters - Writing Efficient, Elegant and Reusable Tests

EuroPython Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to enhance test reusability and streamline test management by combining pytest fixtures with parametrization in this 24-minute conference talk from EuroPython 2025. Explore how to leverage pytest's powerful toolkit of fixtures and parametrize annotations to create clean, maintainable, and scalable test suites. Discover practical techniques for passing pytest fixtures as parameters to existing tests, enabling you to reuse tests across different API versions during migration scenarios. Master the art of upgrading existing unit tests to cover workflows for both old and new APIs without writing entirely new test suites. Gain insights into common engineering challenges like API refactoring and deprecation, and learn how to make these transitions smoother through intelligent test design. Understand how fixtures provide modularity for setup and teardown operations while parametrization allows testing with various input combinations. Apply these concepts to real-world scenarios where API inputs change but outputs remain consistent, making your test maintenance more efficient and your codebase more robust.

Syllabus

Fixtures meets parameters: Writing efficient, elegant and reusable tests — Anupama Tiruvaipati

Taught by

EuroPython Conference

Reviews

Start your review of Fixtures Meets Parameters - Writing Efficient, Elegant and Reusable Tests

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.