Skip to content

1.1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@martinschimak martinschimak released this 04 May 14:11
· 67 commits to master since this release

This releases is validated with all released versions of Camunda from 7.0.0-Final up to 7.15.0. Aside some minor improvements, like simplified support for error handling of user tasks, it brings call activity mocking. You can now write the following code:

when(scenario.waitsAtMockedCallActivity("CallActivity")).thenReturn((callActivity)` -> 
    callActivity.complete(myVariableMap);
);

Scenario.run(scenario)
    .withMockedProcess("Child")
    .startByKey("Parent")
    .execute();

verify(scenario, times(1)).hasStarted("CallActivity");
verify(scenario, times(1)).hasFinished("CallActivity");

Have fun!