Fixtures and Test Doubles in Pytest

Gábor Szabó Gábor Szabó
Language: English
video in English
The presentation was given on 2019.06.02 at PyCon Israel 2019.

Writing tests is a great way to improve the quality of your application, but in a complex application that depends on various 3rd party APIs it can be quite hard.

Pytest makes it easier.

In this presentation will have a quick view on what are fixtures and how to use them in Pytest.

We'll also look at Mocks, Spies, Stubs, Fakes, and Dummies that are all various types of Test Doubles. We'll see a number of use-cases and implementations.