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:
github.com/demoskp/python-tes...
Personal website:
www.petsas.consulting
6 авг 2024