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
A Practical Introduction to Test-Driven DevelopmentLearnQuest via Coursera MOQ
Board Infinity via Coursera Master Java Unit Testing with Spring Boot and Mockito
Packt via Coursera Unit Testing for Data Science in Python
DataCamp Up and Running with redux-observable
egghead.io