Package org.springframework.batch.test
@NullMarked
package org.springframework.batch.test
Utility classes for batch job/step testing.
- Author:
- Mahmoud Ben Hassine, Stefano Cordio
-
ClassesClassDescriptionConvenience class for accessing
ExecutionContextvalues from job and step executions.Deprecated, for removal: This API element is subject to removal in a future version.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.Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 in favor ofJobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext).ATestExecutionListenerthat sets up step-scope context for dependency injection into unit tests.Utility class for creating and manipulatingStepScopein unit tests.
JobOperatorTestUtils.