Re:Show HN: Monty, Mongo tinified. MongoDB implemented in Py...
by watermelon0 on Saturday May 29, 2021 @02:42PM
(#27327334)
IMO unit tests can be done against any implementation, even a mock one, so using Monty would be beneficial, if it supports all you need.
However, you need to have integration tests, to ensure that such implementation behaves the same as the MongoDB version you have in the production. Such tests only need to be run when you change the implementation or upgrade production MongoDB.
If the demo or production only requires those basic operations of course. Those implemented ops are testing against to real MongoDB, so should be good enough for basic usage.