python3-pytest-freezer

Plugin providing a fixture interface for freezegun

Description

This library provides a fixture interface for the freezegun library within Pytest. The fixture named 'freezer' allows time to be frozen during tests, ensuring that any timing-based functionality can be tested with precision. Instead of dealing with real-time changes, developers can control and assert time-dependent code paths effectively. The freezer fixture can manipulate time using specific methods, making it easier to test code that relies on temporal changes. This functionality is useful for testing applications where time- based computations and logic are critical, such as scheduling features, expiry mechanisms, and historical data retrieval.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/pytest-dev/pytest-freezer


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-pytest-freezer