com.github.borsch:mongomery

Simple and useful util for unit and integration testing with mongodb.

License

License

GroupId

GroupId

com.github.borsch
ArtifactId

ArtifactId

mongomery
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.borsch:mongomery
Simple and useful util for unit and integration testing with mongodb.
Project URL

Project URL

https://github.com/borsch/mongomery
Source Code Management

Source Code Management

https://github.com/borsch/mongomery.git

Download mongomery

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.borsch/mongomery/ -->
<dependency>
    <groupId>com.github.borsch</groupId>
    <artifactId>mongomery</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.borsch/mongomery/
implementation 'com.github.borsch:mongomery:0.4.0'
// https://jarcasting.com/artifacts/com.github.borsch/mongomery/
implementation ("com.github.borsch:mongomery:0.4.0")
'com.github.borsch:mongomery:jar:0.4.0'
<dependency org="com.github.borsch" name="mongomery" rev="0.4.0">
  <artifact name="mongomery" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.borsch', module='mongomery', version='0.4.0')
)
libraryDependencies += "com.github.borsch" % "mongomery" % "0.4.0"
[com.github.borsch/mongomery "0.4.0"]

Dependencies

compile (1)

Group / Artifact Type Version
net.minidev : json-smart jar 2.1.1

provided (2)

Group / Artifact Type Version
org.mongodb : mongo-java-driver jar 3.7.1
org.projectlombok : lombok jar 1.18.12

test (4)

Group / Artifact Type Version
de.flapdoodle.embed : de.flapdoodle.embed.mongo jar 2.2.0
org.junit.jupiter : junit-jupiter-api jar 5.6.0
org.junit.jupiter : junit-jupiter-params jar 5.6.0
org.assertj : assertj-core jar 3.11.1

Project Modules

There are no modules declared in this project.

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

Versions

Version
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0