News

This repository contains a simple mock API and pytest tests that demonstrate how to use fixtures to cache authentication tokens and make API requests. This pairs with the blog post over at ...
Pytest is a powerful testing framework for Python that can help you easily integrate testing into your Python application. Here is a simple example of how to use pytest to write and run tests for your ...
Improve your Python testing even more. In my last two articles, I introduced pytest, a library for testing Python code (see "Testing Your Code with Python's pytest" Part I and Part II). pytest has ...
Fixture usage. Pytest provides the flexibility to use a fixture implicitly or call it explicitly, with autouse parameter. To call the fixture function by default, the autouse parameter value needs to ...