mirror of
https://github.com/vinta/awesome-python.git
synced 2026-10-09 06:53:35 +08:00
audit: sweep Testing, replace freezegun with time-machine
Removed: freezegun (45,539,075 downloads/month, pypistats 2026-10-02): fails the 12-month activity line (last commit 2025-08-19, last release 2025-08-09), and time-machine (18,960,236/month, released 3.5.1 on 2026-09-08) is an active successor for the same job that ships a freezegun migration tool, so freezegun does not qualify as a mature-stable keep. time-machine takes the slot as a challenger, last in Mock. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -667,9 +667,9 @@ _Libraries for testing codebases and generating test data. Also see [awesome-pyt
|
||||
- Mock
|
||||
- [mock](https://docs.python.org/3/library/unittest.mock.html) - (Python standard library) A mocking and patching library.
|
||||
- [responses](https://github.com/getsentry/responses) - A utility library for mocking out the requests Python library.
|
||||
- [freezegun](https://github.com/spulec/freezegun) - Travel through time by mocking the datetime module.
|
||||
- [vcrpy](https://github.com/kevin1024/vcrpy) - Record and replay HTTP interactions on your tests.
|
||||
- [respx](https://github.com/lundberg/respx) - Mock HTTPX with awesome request patterns and response side effects.
|
||||
- [time-machine](https://github.com/adamchainz/time-machine) - Travel through time in your tests by mocking the current time at the C level.
|
||||
- Object Factories
|
||||
- [factory_boy](https://github.com/FactoryBoy/factory_boy) - A test fixtures replacement for Python.
|
||||
- [polyfactory](https://github.com/litestar-org/polyfactory) - A mock data generation library based on type hints (continuation of `pydantic-factories`).
|
||||
|
||||
Reference in New Issue
Block a user