| Oct | NOV | Dec |
| 05 | ||
| 2020 | 2021 | 2022 |
COLLECTED BY
Collection: Save Page Now Outlinks
Full Stack Python
All topics |
Blog |
Supporter's Edition |
@fullstackpython |
Facebook |
What's new?
mock when testing.
Python Mocking 101: Fake It Before You Make It
explains what mocking is and is not, and shows how to use the patch
function to accomplish it in your project.
Revisiting Unit Testing and Mocking in Python
is a follow-up post that expands upon using the patch function
along with dependency injection.
Mocks and Monkeypatching in Python
uses the mock and monkeypatch tools to show how to mock your
test cases.
Mock yourself, not your tests
examines when mocks are necessary and when they are not as useful
so you can avoid them in your test cases.
Better tests for Redis integrations with redislite
is a great example of how using the right mocking library can clean
up existing hacky testing code and make it more straightforward for
any developer that happens upon the tests in the future.
The most accurate speech-to-text API. Built for Python developers.