Skip to main content


Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).

Easy to Use

mongodb-memory-server was build with "easy-to-use" in mind

Focus on What Matters

mongodb-memory-server can be quickly added to projects on many systems

Supports Many Systems

mongodb-memory-server supports many different systems without problems (exceptions are some linux distributions)