pytest - simple, rapid and fun testing with Python

Track:
Testing, Quality Assurance, Security
Type:
Tutorial
Level:
beginner
Duration:
180 minutes

Abstract

The pytest tool offers a rapid and simple way to write tests for your Python code. This training gives an introduction with exercises to some distinguishing features, such as its assertions, marks and fixtures.

Despite its simplicity, pytest is incredibly flexible and configurable. We'll look at various configuration options as well as the plugin ecosystem around pytest.