Python Series track

Week 06

Week 6 — Testing with pytest

Write professional tests with pytest. Use fixtures for setup/teardown, parametrize for data-driven tests, mock external dependencies, and measure code coverage.

Advanced Track5 topicsFree · open source

What this lesson covers

5 topics from the advanced track section of the Python Series track. Work through the source materials alongside these concepts.

  • pytest
  • Fixtures
  • parametrize
  • Mock
  • Coverage

Lesson materials

README, runnable examples and exercises for every Python Series lesson live in the open-source repository.

Open the source repository

Learn this lesson with a mentor

Work through the Python Series track on your own, or join a guided cohort at our Pitampura campus and online.

Call NowEnroll Now