@NonNullApi package org.springframework.batch.test
Utility classes for batch job/step testing.
- Mahmoud Ben Hassine
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.Deprecated, for removal: This API element is subject to removal in a future version.since 5.0 in favor of similar utilities provided by Spring Framework.Convenience class for accessing
ExecutionContextvalues from job and step executions.Utility class for testing batch jobs.Convenience class for creating and removing
JobExecutioninstances from a database.A
TestExecutionListenerthat sets up job-scope context for dependency injection into unit tests.Utility class for creating and manipulating
JobScopein unit tests.Convenience methods for creating test instances of
StepExecution.Utility class for executing steps outside of a
TestExecutionListenerthat sets up step-scope context for dependency injection into unit tests.Utility class for creating and manipulating
StepScopein unit tests.