Course description
Master Python testing: Learn methods, create checks, and ensure error-free code with pytest and unittest.
Upcoming start dates
1 start date available
Training content
Plenty of people write code. Some of them make it work and profitable. But sometimes, even the smartest of the best programmers makes a mistake that can cost millions of dollars. How to decrease the possibility of getting into such a fiasco? How do you ensure that you create a program that does exactly what you want? The very simple answer is: write tests!
Python testing basics
During this journey, you will learn the very basics of creating tests in Python. You will meet four types of software testing methods. You will create your own tests to check if the program or a data pipeline works as expected before it goes to production. Whether it is the unexpected null, a typo in your dataset, or mixed-up signs in the equation. You can, and you will catch those cases with the tests.
Testing with pytest and unittest
After the course completion, you will know the types of testing methods, and you will be able to choose the most suitable ones for a specific context. You also will be able to design those tests and implement them in Python using the `pytest` and the `unittest` libraries.
Quick stats about Datacamp?
More than 14 Million learners worldwide
80% of the Fortune 1000 use DataCamp
Contact this provider
Datacamp
DataCamp offers a comprehensive platform for learning data skills, specializing in training individuals and teams in data science, analytics, and AI. With a focus on interactive, hands-on learning, DataCamp provides courses across key programming languages such as Python, R, SQL,...
Ads