Overview
Discover the power of pytest in this 29-minute EuroPython Conference talk by Andreas Pelme. Learn how to write "pythonic" tests using this full-featured testing tool. Explore innovative features like the assert statement for assertions and fixtures for managing test dependencies. Get started with pytest in new or existing projects through basic usage and configuration demonstrations. Suitable for beginners and those familiar with other Python testing tools like unittest or Nose, this introduction covers key topics including search statements, plugins, test execution, test marking, markers, and fixtures. Gain insights on transitioning to pytest and have your questions answered in this comprehensive overview of this popular testing framework.
Syllabus
Introduction
Overview
Demo
Search Statement
Plugins
Running tests
Marking tests
Markers
Fixtures
Switching to pytest
Questions
Taught by
EuroPython Conference