prisma-client-py
prisma-client-py copied to clipboard
Make use of property based testing
Problem
Due to auto-generated nature of the client and the heavily nested query arguments, there are many possible combinations of arguments and methods that we do not have tests for.
Suggested solution
We should be able to make use of hypothesis and their from_type
strategy builder to greatly increase the coverage of our generated types.
This would've prevented #209
This is a high priority for me as it would've prevented bugs and will increase our confidence with the generated types.