Package org.mongounit
package org.mongounit
-
ClassDescription
AssertMatchesDatasetannotation specifies location(s) of a JSON-based file(s) with data to match the state of the database with.AssertMatchesDatasetsannotation enables theAssertMatchesDatasetannotation to be repeatable.DatasetGeneratorclass is a standalone runnable program that can generate JSON-based starter dataset files which can later be used to seed and verify database tests.DatasetGeneratorArgumentsclass represents all arguments passed into theDatasetGeneratorstandalone program.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilderclass is a builder pattern class for theDatasetGeneratorArgumentsclass.LocationTypeenum specifies how 'locations' values inSeedWithDatasetandAssertMatchesDatasetannotations should be interpreted.MongoUnitclass contains utilities for manually seeding and performing assertion matches.MongoUnitExceptionclass represents the root exception of any exceptions in the MongoUnit framework.MongoUnitExtensionclass is a JUnit 5 extension which enables the MongoUnit framework features in a test target.MongoUnitTestis an annotation meant to be placed on JUnit classes to autoconfigure the Spring-based MongoDatabaseFactory to use a test database for the integration tests.SeedWithDatasetannotation specifies location(s) of a JSON-based file(s) with data to seed the database before a target test is executed.SeedWithDatasetsannotation enables theSeedWithDatasetannotation to be repeatable.