Package org.springframework.modulith.test
@NonNullApi
package org.springframework.modulith.test
Integration test support for Spring Modulith
ApplicationModules
.-
ClassDescriptionTest utilities to work with aggregates.Bootstraps the module containing the package of the test class annotated with
ApplicationModuleTest
.An AssertJ-based extension ofPublishedEvents
to obtain fluent assertions.Default implementation ofAssertablePublishedEvents
.Default implementation ofPublishedEvents
.Allows usingScenario
as method parameter in integration tests.An unconditional auto-configuration registering anImportBeanDefinitionRegistrar
to customize both the entity scan and auto-configuration packages to the packages defined by theModuleTestExecution
in the application context.All Spring application events fired during the test execution.All application events of a given type that were fired during a test execution.AssertJAssert
forPublishedEvents
.JUnit 5Extension
for standalone usage withoutApplicationModuleTest
.Provides instances ofPublishedEvents
as test method parameters.A DSL to define integration testing scenarios for application modules.A JUnitInvocationInterceptor
to register a default customizer to be applied to allScenario
instances associated with that test case.JUnitParameterResolver
forScenario
.Utility methods to work with testApplicationModules
.CustomApplicationModulesFactory
to bootstrap anApplicationModules
instance only considering test code.