This course will teach you to write and use unit tests in Python using popular tools and frameworks like unittest and pytest.
This course will teach you to write and use unit tests in Python using popular tools and frameworks like unittest and pytest.
Developers want to be sure the code they write is good quality and does the right thing. In this course, Testing in Python 3, you’ll learn to write unit tests in popular frameworks like unittest and pytest. First, you’ll explore the basic ideas and vocabulary of unit testing with the built-in package unittest and the popular tool pytest. Next, you’ll discover how to use test doubles to isolate your units. Finally, you’ll learn how to use more advanced testing techniques like approval testing and parameterized tests. When you’re finished with this course, you’ll have the skills and knowledge of writing the automated tests needed to ensure your code does what you think it does and has a reliable suite of regression tests to support future development.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.