Finance Certifications Goldman Sachs & Amazon Teams Trust
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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