[Tutor] OT: "Your tests are only as good as your mocks." Comments?
Mats Wichmann
mats at wichmann.us
Sun Jul 25 13:48:23 EDT 2021
On 7/25/21 11:14 AM, boB Stepp wrote:
> Python-specific question: Does the Python ecosystem provide tools for
> creating and managing fakes?
>
Well, there's this:
https://pypi.org/project/Faker/
there are a large bunch of wrappers that adapt this for particular
environments.
I see there's a package called sqlfaker which may be unrelated
code-wise, and looks like it might be dead.
and for more sophisticated generation of test data, look at Hypothesis.
More information about the Tutor
mailing list