Python Testing 101

UnitTesting Python with Unittest Framework||White Box Testing||Mocks & Parameterized Tests||Pytest, Jenkins & More...

Python Testing 101
Python Testing 101

Python Testing 101 udemy course free download

UnitTesting Python with Unittest Framework||White Box Testing||Mocks & Parameterized Tests||Pytest, Jenkins & More...

Welcome to Python Testing 101 - Unit Testing Python code with Python Unittest framework.

Unit testing is a software testing methodology wherein the individual components or parts of the program, called units, are tested independently with all the required dependencies. Unit testing is mostly done by developers, who write the programs for the units. In most of the software projects, unit testing is part of a formal process of development with proper schedule and or efforts allocated for writing unit tests.

The course lets you get your hands dirty with the basic building blocks in testing, which are unit tests. Here you will be taken through what a unit test is, the basic syntax, and examples of a simple unit test.

Then, you will learn about the methods available to use in unit testing and the various tools available to help in running and debugging your tests. You also will learn about use of mocks and patching, which helps you to isolate the code you are interested in testing (your “units”), and simulate responses from other parts of the system or libraries.

This course will help you master the fundamentals of Unit testing of Python project. It teaches you various techniques for writing  unit tests in Python and how to execute them efficiently, and find the bugs before your users do!

We will be using Python Unittest framework which comes with Python standard library and it assumes that you have minimal prior experience with Python coding.

You'll learn how to assert parts of your tests, how to discover the tests, and make tests easier to read and manage. Throughout the course you will see lots of unit test code examples in Python.

Some of the interesting topics covered in the course are:

  • Create Project in Pycharm with Virtual Env

  • Unittest Fixtures & Test Discovery

  • Using Mock and Test Doubles

  • Pytest as Test Runner and generating nice reports

  • Jenkins to run and share the test reports

  • Parameterized Tests

  • Writing unittest for a Real, Working Application

Thank you and see you in this course.