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

YouTube

Powerful Tests and Reproducible Benchmarks with `pytest-cases`

EuroPython Conference via YouTube

Overview

Explore powerful testing techniques and reproducible benchmarking using `pytest-cases` in this 30-minute conference talk from EuroPython 2021. Learn how to extend pytest's capabilities, manage complex test parameters as Python functions, and create elegant, maintainable tests with advanced parametrization. Discover how to combine `pytest-cases` with `pytest-harvest` for generating scientific results tables in a reproducible manner, making it ideal for research projects. Gain insights into separating test cases from test functions, leveraging fixtures intuitively, and easily adding datasets and algorithms to benchmarks. Suitable for Python developers and data scientists with basic pytest experience, the talk covers pytest use cases, complexity management, advanced topics, and includes a Q&A session.

Syllabus

Intro
Pytest
Use cases
Complexity
Properties
Advanced topics
Questions

Taught by

EuroPython Conference

Reviews

Start your review of Powerful Tests and Reproducible Benchmarks with `pytest-cases`

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.