Logo

Developer learning path

Python

Unit Testing with PyTest in Python

Unit Testing with PyTest

65

#description

Unit Testing is an essential part of software development that helps to identify and fix bugs at an early stage of application development. Pytest is a popular testing framework used for writing functional and unit tests in python.

The course on Unit Testing with Pytest is designed to help developers understand the basics of writing test cases using Pytest.

The course covers topics such as:

  1. Introduction to Pytest framework
  1. Setting up Pytest
  1. Writing basic test functions
  1. Writing fixtures to initialize test functions
  1. Handling exceptions during testing
  1. Building test suites
  1. Test coverage analysis
  1. Parameterizing tests
  1. Running test suites in parallel

By the end of the course, developers will be able to write automated test cases using Pytest that assure the quality of their code before it is deployed. This course is suitable for software developers who use Python for their developing applications, and it is recommended that participants have a basic understanding of the Python programming language.

March 25, 2023

If you don't quite understand a paragraph in the lecture, just click on it and you can ask questions about it.

If you don't understand the whole question, click on the buttons below to get a new version of the explanation, practical examples, or to critique the question itself.