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

Added mockgoose #347

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open

Conversation

Christilut
Copy link

@Christilut Christilut commented Mar 24, 2017

Mockgoose uses an in-memory version of mongodb so tests start fresh each time and no database is polluted should certain tests fail.

Edit: one thing ive noticed with Mockgoose is that if your internet is slow (or not available), the first test that uses mockgoose will fail with timeout exceeded. I think this is because mockgoose is checking if the prebuilt mongodb binary is up to date. Not sure this is acceptable for this project but personally I'm okay with it. See Mockgoose/Mockgoose#20

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 89.241% when pulling 62c763f on Christilut:develop into 8bc61e2 on KunalKapadia:develop.

@coveralls
Copy link

coveralls commented Mar 24, 2017

Coverage Status

Coverage decreased (-0.3%) to 89.241% when pulling 6ed47ab on Christilut:develop into 8bc61e2 on KunalKapadia:develop.

@simonschllng
Copy link

This looks wrong. Mockgoose says it spins up a mongod and the example shows how to add this to the chai tests. Why do you implement it in the server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants