Testing Your Code With pytest
Christopher Trudeau
25:14
Description
Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and ensures that changes to your code won’t cause regressions. Writing and maintaining tests is hard work, so you should leverage all the tools at your disposal to make it as painless as possible. pytest is one of the best tools you can use to boost your testing productivity.
In this video course, you’ll learn:
What You'll Learn?
- What benefits pytest offers
- How to ensure your tests are stateless
- How to make repetitious tests more comprehensible
- How to run subsets of tests by name or custom groups
- How to create and maintain reusable testing utilities
More details
User Reviews
Rating
Christopher Trudeau
Instructor's CoursesChristopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams. Christopher is a strong advocate for automation throughout the delivery process and the power of small teams with well defined goals.
You can find Christopher here:

Real Python
View courses Real Python- language english
- Training sessions 5
- duration 25:14
- Release Date 2023/01/05