Learn how to do testing with Python and Pytest

Опубликовано: 29 Октябрь 2024
на канале: Demos Petsas
100
6

In this course which is part of a multi series covering testing with Python we will use Pytest to learn the fundamentals of testing with Pytest and Python. We will cover assertions, exception assertions, fixures, testing classes, running all the tests in a test suite as well as targeting specific tests.

Chapters:
00:00:00 Intro
00:01:21 Installing Pytest
00:03:04 Writing Tests
00:03:53 Basic Assertions
00:12:25 Exception Assertions
00:18:21 Parametrizing Tests
00:23:13 Grouping into Classes
00:24:13 Running Specific Tests
00:25:15 Verbose Test Mode

Code:
https://github.com/demoskp/python-tes...

Personal website:
http://www.petsas.consulting