Pytest Tutorial – How to Test Python Code
Offered By: freeCodeCamp
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the powerful pytest framework for Python testing in this comprehensive tutorial. Gain a deep understanding of pytest's features, best practices, and the nuances of writing effective tests. Begin with an introduction to pytest, then progress through creating your first tests and implementing class-based tests. Dive into advanced concepts such as fixtures, marking and parametrizing tests, and mocking. Finally, discover how to leverage ChatGPT to streamline your test writing process. Master the art of Python testing and elevate your development skills with this hands-on learning experience.
Syllabus
Introduction
Our First Tests
Class-based Tests
Fixtures
Mark & Parametrize
Mocking
Testing with ChatGPT
Taught by
freeCodeCamp.org
Related Courses
Advanced Automation Frameworks and Continuous IntegrationPackt via Coursera Advanced Framework Development and Integration
Packt via Coursera Developing Python Packages
DataCamp Introduction to Testing in Python
DataCamp Python API Development - Comprehensive Course for Beginners
freeCodeCamp