Package org.springframework.batch.test
@NonNullApi
package org.springframework.batch.test
Utility classes for batch job/step testing.
- Author:
- Mahmoud Ben Hassine
-
ClassesClassDescriptionDeprecated, 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.Wrapper for a
DataSourcethat can run scripts on start up and shut down.Convenience class for accessingExecutionContextvalues from job and step executions.Utility class for testing batch jobs.Convenience class for creating and removingJobExecutioninstances from a database.ATestExecutionListenerthat sets up job-scope context for dependency injection into unit tests.Utility class for creating and manipulatingJobScopein unit tests.Utility class for executing steps outside of aJob.ATestExecutionListenerthat sets up step-scope context for dependency injection into unit tests.Utility class for creating and manipulatingStepScopein unit tests.