scionoftech / FastAPI-Full-Stack-Samples

The API Application Development using Python FastAPI, including interactive API documentation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mongoengine Tests

sakmalh opened this issue · comments

Heyy I really liked your work on the best practices in FastAPI and Mongoengine.

You got any idea how we should implement tests for FastAPI Mongoengine? Do we create an extra DB for testing or we use something like mongomock?. If you could provide a template it would be awesome.

Thanks again for the work