Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/flortz/fastapi-crudrouter/4RVwLWcGLBPGZCGrrRHMXEyThDAU |
|
Current CI failure seems to be due to a bug in pytest 7.0.0 (pytest-dev/pytest#9609). Run tests again when 7.0.1 is out (should be very soon) or work around it in dev.requirements.txt. |
pytest 7.0.0 does not work with python 3.9. Exclude that specific combo. From: pytest-dev/pytest#9608 (comment)
|
I added the pytest workaround. Any remaining failures should be due to the Schemathesis bug mentioned above. |
|
Thanks for this @DanLipsitt, great work! 🚀 |
|
Thank you so much @DanLipsitt for bringing this PR and reporting the issue to Schemathesis! @awtkns thank you for reviewing & approving the changes :) I added a small suggestion in the comment above which makes the tests work. They took quite some time to run on my machine (~7 minutes) but showed quite a lot of things that might require attention. I'd also suggest adding Let me know if I can help with anything :) I'd be happy elaborate |
This change was suggested by @Stranger6667
|
Updated per @Stranger6667's suggestion. |
|
Someone is attempting to deploy a commit to a Personal Account owned by @awtkns on Vercel. @awtkns first needs to authorize it. |
This PR adds automated Schemathesis tests to the test suite. Most of the tests currently fail, and I believe this is due to a bug in Schemathesis, described in schemathesis/schemathesis#1335. I see that the author of Schemathesis has kindly offered to help get it working with fastapi-crudrouter. I'll update the schemathesis ticket and hopefully this PR will help both projects.