kaizendorks / pymongo_inmemory

A mongo mocking library with an ephemeral MongoDB running in memory.
MIT License
40 stars 13 forks source link

Create functional tests for testing if the library works #11

Closed ekarademir closed 4 years ago

ekarademir commented 4 years ago

Currently, if the library is run as a module, it spins up a server for quick use, until shutdown.

We need to create a set of scripts that interacts with the spun up server and ensures everything has been set up correctly.

We should add either a CLI option for running tests like

python -m pymongo_inmemory --test

or run the tests regardless. We can then add a new integrity test to the suite.

ekarademir commented 4 years ago

A better ticket is created #23