-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write tests for database operations and its functions #21
Comments
Create a mock for the database is a great option to test it |
Is it worth to use a testing database version to do real tests for database operations? |
Maybe define a SQLite database for tests is a great option, but we will have problems beacuse the test for database operations will be assyncronous |
That's why i'm using MongoDB Memory Server. It uses the latest |
To test, we could just create a local database with Mongo Article: setup a local MongoDB Connection |
Closing due to #26 |
To avoid the necessity of have mongod locally installed or use its cloud services i pretend to use an implementation of MongoDB for memory storage.
The text was updated successfully, but these errors were encountered: