All Classes and Interfaces
Class
Description
AssertionResult class represents internal assertion result.AssertionResult.AssertionResultBuilder class is a builder pattern class for the AssertionResult
class.AssertMatchesDataset annotation specifies location(s) of a JSON-based file(s) with data
to match the state of the database with.AssertMatchesDatasets annotation enables the AssertMatchesDataset annotation to
be repeatable.DatasetGenerator class is a standalone runnable program that can generate JSON-based
starter dataset files which can later be used to seed and verify database tests.DatasetGeneratorArguments class represents all arguments passed into the DatasetGenerator standalone program.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder class is a builder pattern class for the DatasetGeneratorArguments class.LocationType enum specifies how 'locations' values in SeedWithDataset and AssertMatchesDataset annotations should be interpreted.MongoDatabaseFactoryBean class is a definition of the MongoUnit specific MongoDatabaseFactory
bean to be substituted for originally configured one in the Spring context.MongoDatabaseGuardConfiguration configuration is a bean definition registry post processor that
substitutes a custom MongoDatabaseFactory that modifies the database URI.MongoUnit class contains utilities for manually seeding and performing assertion
matches.MongoUnitAnnotations class is a holder of AssertMatchesDataset and SeedWithDataset annotations discovered on a test class or a test method.MongoUnitCollection class contains information needed to read or seed the database with
for a single collection.MongoUnitCollection.MongoUnitCollectionBuilder class is a builder pattern class for the MongoUnitCollection class.MongoUnitConfiguration is a configuration class that configures database protection post
processor.MongoUnitConfiguration.ApplicationLifecycle class is a Spring component used to optionally drop the database
once all the tests complete execution.MongoUnitConfigurationUtil class provides utility methods to make accessing
'mongounit.properties' file and its property values easier.MongoUnitDatasets class contains seed and assert datasets.MongoUnitException class represents the root exception of any exceptions in the MongoUnit
framework.MongoUnitExtension class is a JUnit 5 extension which enables the MongoUnit framework
features in a test target.MongoUnitProperties class is a holder for mongounit.properties property values.MongoUnitTest is an annotation meant to be placed on JUnit classes to autoconfigure the
Spring-based MongoDatabaseFactory to use a test database for the integration tests.MongoUnitValue class represents the fields and values represented by the special format
of the MongoUnit value.MongoUnitValue.MongoUnitValueBuilder class is a builder pattern class for the MongoUnitValue
class.SeedWithDataset annotation specifies location(s) of a JSON-based file(s) with data to
seed the database before a target test is executed.SeedWithDatasets annotation enables the SeedWithDataset annotation to be
repeatable.