Test step inside flow #4518
Unanswered
heitormsilva
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It seems the step is not registered correctly. You should be able to test each step separately without any issue. If you provide an entire test, I will try to debug the case and help you efficiently. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions