Hi,
I would like to create a unit test for a single step in a job. This step retreives some parameters from the ExecutionContext which have been put there by a ExecutionContextPromotionListener from the previous step ( I believe that this is the recommended method to pass variables to future steps )
Is it possible to use the AbstractJobTests.launchStep() method to do this ? How can I get the variable into the ExecutionContext before launching the step?
Thanks in advance !


Reply With Quote
