The Speedrun Python Unit Testing Course (unittest, mock)

via Udemy

Go to Course: https://www.udemy.com/course/the-speedrun-python-unit-testing-course-unittest-mock/

Overview

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 softwareare 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 testingMake preparations and sharing test data by using test fixturesTest code organizationTest grouping using TestSuiteTest skippingExecution of test collectionsMocking of objects and functionsUsing mock decorators for objects patchingYou'll also learn how to use mock objects. Mocking Test is a technique or methodused in testing within the scope of software testing by replacing theoriginal object (dependent object) with a mock object. The mock object created can simulate the behavior of the dependent object thatis temporarily replaced. Testing in mock testing focuses on the unit being testedwithout involving or depending on other units by isolating the object to be tested.All source code for each video is available for download.

Skills

Reviews