Pytest - Fixtures


This tutorial covers powerful feature in pytest framework called fixtures. It leverages dependency injection concept for setup and teardown of your unit tests. It is preferred over traditional xunit style setup/teardown methods.