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