Skip to content

borsch/mongomery

Repository files navigation

mongomery

Simple and useful util for unit and integration testing with mongodb (java 1.8+)

This library allows you easily populate db with predefined data from a json file and also do assertions about db state using a json file.

<dependency>
  <groupId>com.github.borsch</groupId>
  <artifactId>mongomery</artifactId>
  <version>wanted-version</version>
</dependency>

change log

  • 0.3.2 - 23/02/2020
  • 0.3.1 - 06/02/2020
  • 0.3.0 - 26/01/2020
  • 0.2.0 - 12/01/2020 - assert com.mongodb.client.MongoDatabase instead of com.mongodb.DB (deprecated API)
  • 0.1.0 - 11/01/2020 - first release

docs

docs