The Speedrun Python Unit Testing Course (unittest, mock)
What you’ll learn
- Write Unit Test Cases
- Run Test Cases
- Execution of test collections
- Develop Test Suites
- Use Unit Test Fixtures
- Mocking of functions and objects
- Organize test code
In this course is that we’re gonna learn how to test applications with python unittest framework.
Unit Testing is the first level of software testing where the smallest testable parts of software
are tested. This is used to validate that each software unit performs as designed.
The unittest test framework is Python xUnit style framework.
In this article, we will learn about unittest framework with the help of examples.
You’re gonna learn the basics concepts of applications testing such as:
Individual unit of testing
Make preparations and sharing test data by using test fixtures
Test code organization
Test grouping using TestSuite
Test skipping
Execution of test collections
Mocking of objects and functions
Using mock decorators for objects patching
You’ll also learn how to use mock objects. Mocking Test is a technique or method
used in testing within the scope of software testing by replacing the
original object (dependent object) with a mock object.
The mock object created can simulate the behavior of the dependent object that
is temporarily replaced. Testing in mock testing focuses on the unit being tested
without involving or depending on other units by isolating the object to be tested.
All source code for each video is available for download.
Who this course is for:
- Python Programmers
- Python Automation Engineers
User Reviews
Be the first to review “The Speedrun Python Unit Testing Course (unittest, mock)”
You must be logged in to post a review.
There are no reviews yet.