New answers tagged


In general MongoDB fares well with a substitute database as there is no schema to reproduce on it. I tend to exercise the database in two categories of tests: integration tests for the classes wrapping database usage, such as Data Access Objects or Repositories. I use the test database of the local machine, create as many collections objects as necessary ...

Top 50 recent answers are included