Skip to content Skip to sidebar Skip to footer

The Speedrun Python Unit Testing Course (unittest, mock)

The Speedrun Python Unit Testing Course (unittest, mock)


The Speedrun Python Unit Testing Course (unittest, mock)

Let's make bug-free applications using tests!

Preview this Course

Description

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

Post a Comment for "The Speedrun Python Unit Testing Course (unittest, mock)"