Get started with testing in Python

Beginner
Developer
Student
Azure

Start testing with Python using the unittest module. Get exposed to other testing concepts like functional and integration testing.

Learning objectives

By the end of this module, you'll be able to:

  • Write tests using unittest: Python's standard library testing module
  • Identify and fix failures by reading test failure reports
  • Differentiate between unit, functional, and integration testing types

Prerequisites

  • Ability to write Python scripts
  • Familiarity with command-line tools and executing scripts
  • Python 3.6 or later installed on your computer. Follow the steps in the Install a Python interpreter documentation.