Advanced pytest Features

Learn two more tricks that you can use in pytest: tests that are expected to fail and log capturing.

Overview

The pytest library is powerful, and we won’t be able to describe all its features here. However, we can still dive into a few to show them as some bait.

Get hands-on with 1200+ tech skills courses.