Learn how to effectively test Python code using the pytest framework. This course covers pytest's features, best practices, and writing efficient tests. You will also discover how to leverage ChatGPT for quicker test writing. The course includes topics such as writing initial tests, class-based tests, fixtures, marking, parametrizing, and mocking. The intended audience for this course is Python developers looking to enhance their testing skills.
Overview
Syllabus
Introduction
Our First Tests
Class-based Tests
Fixtures
Mark & Parametrize
Mocking
Testing with ChatGPT
Taught by
freeCodeCamp.org