Google AI Professional Certificate - Learn AI Skills That Get You Hired
Learn Backend Development Part-Time, Online
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to effectively test Python code using pytest in this comprehensive 3-hour tutorial from PyCon US. Discover the power of pytest, Python's most popular testing framework, and gain hands-on experience writing and running tests. Explore essential topics such as project configuration for testing, pytest's basic mechanics, test parameterization, setup and cleanup with fixtures, and basic mocking techniques. Dive into practical applications by testing web APIs and UIs using Playwright. Through hands-on coding exercises, master the art of writing robust tests and become proficient in using pytest to ensure the quality and reliability of your Python projects. By the end of this tutorial, you'll have the skills and confidence to test your Python code like a champion.
Syllabus
Tutorials - Pandy Knight: def test_crash_course_with_pytest():
Taught by
PyCon US