Skip to content
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

Create a fake MongoDB #10

Open
AM2i9 opened this issue May 13, 2022 · 0 comments
Open

Create a fake MongoDB #10

AM2i9 opened this issue May 13, 2022 · 0 comments
Labels
enhancement New feature or request server Server side

Comments

@AM2i9
Copy link
Contributor

AM2i9 commented May 13, 2022

This one might be a bit complicated, and we don't really have to do, but the idea is to create a fake MongoDB that is part of the server itself. It has the same methods (that we need) as the normal Db class that is used, but doesn't actually connect to a real MongoDB database, but stores data put into and pulled out of it in memory while the server is running.

However, to really have it functional for quality testing, it needs to have at at least the comparison and logical operators from MongoDB, and be able to aggregate results stored in it.

https://www.mongodb.com/docs/manual/reference/operator/query/

Again, more of a nice to have, not something necessary, but would be cool and useful for testing.

@AM2i9 AM2i9 added enhancement New feature or request server Server side labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server Server side
Projects
None yet
Development

No branches or pull requests

1 participant