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

YouTube

Python Unit Testing with Pytest and Mock

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to write high-quality unit tests for Python code using Pytest, the de-facto testing tool standard, and mock, the built-in library for creating mock objects. This comprehensive 2-hour and 13-minute tutorial from PyCon US covers best practices in unit testing, demonstrating how to effectively use Pytest and mock to ensure code reliability and maintainability. Explore practical examples and techniques to improve your testing skills, and gain access to supplementary materials through the provided GitHub repository containing slides and additional resources.

Syllabus

TUTORIAL / Moshe Z / Python Unit Testing with Pytest and Mock

Taught by

PyCon US

Reviews

Start your review of Python Unit Testing with Pytest and Mock

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.