Unable to test step inside flow #4771
Labels
has: minimal-example
Bug reports that provide a minimal complete reproducible example
in: test
type: bug
Discussed in #4518
Originally posted by heitormsilva December 16, 2023
Hi.
I have a configuration like this: job -> step (outerStep) -> flow (outerFlow) -> flow (innerFlow) -> step (innerStep).
I want to run a integration test of the innerStep, but I get a "java.lang.IllegalStateException: No Step found with name: [innerStep]".
If I run the test pointing to outerStep it works.
My test class is annotated with @SpringBootTest and @SpringBatchTest.
I'm running the step with: jobLauncherTestUtils.launchStep("innerStep");
How can I call only the innerStep?
The text was updated successfully, but these errors were encountered: