Hi all,
I am happy to announce two community extension releases:
-
Camunda BPM Process Test Coverage 0.2.9 comes with bug fixes, a further investment into more robustness, and it enables testing in a pure spring environment, e.g. allows to re-use the dependency injected process engine in the test class for coverage. See an example of that here. Many thx to @lldata for the related pull request! (Btw I would in particular be interested in @zambrovski’s comment whether this resolves his most urgent requirements, too.)
-
Camunda BPM Scenario 0.2 comes with a further investment in robustness, too, enables in particular the interception of BPMN Conditional Event Waitstates, therefore catches up with Camunda BPM 7.6.x and introduces extensive Test Case Logging. The logging shows in detail in which steps your scenario runs through your process definition and also how the scenario execution fast forwards your process instance(s) into the “process future” when testing them. This looks like e.g.
...
| Started receiveTask 'Wait for documents' (ReceiveTaskWaitForDocuments @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
* Acting on receiveTask 'Wait for documents' (ReceiveTaskWaitForDocuments @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Deferring action on 'Wait for documents' until 2017-01-25 18:10:21 (ReceiveTaskWaitForDocuments @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4 ...
| Fast-forwarding scenario to 2017-01-19 18:09:21
|-- Executing timer-transition (BoundaryEventDaily @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Started boundaryTimer 'daily' (BoundaryEventDaily @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Completed boundaryTimer 'daily' (BoundaryEventDaily @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Started sendTask 'Send reminder' (SendTaskSendReminder @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
* Acting on sendTask 'Send reminder' (SendTaskSendReminder @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Completed sendTask 'Send reminder' (SendTaskSendReminder @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Started noneEndEvent 'Reminder sent' (EndEvent_1 @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Completed noneEndEvent 'Reminder sent' (EndEvent_1 @ DocumentRequest # dad1fecf-dda0-11e6-906e-7ebec62e68c4)
| Fast-forwarding scenario to 2017-01-20 18:09:21
|-- Executing timer-transition (BoundaryEvent_2 @ InsuranceApplication # dacca880-dda0-11e6-906e-7ebec62e68c4)
| Started boundaryTimer '2 days' (BoundaryEvent_2 @ InsuranceApplication # dacca880-dda0-11e6-906e-7ebec62e68c4)
| Completed boundaryTimer '2 days' (BoundaryEvent_2 @ InsuranceApplication # dacca880-dda0-11e6-906e-7ebec62e68c4)
| Started userTask 'Speed up manual check' (UserTaskSpeedUpManualCheck @ InsuranceApplication # dacca880-dda0-11e6-906e-7ebec62e68c4)
...
In the following you find the links to information about Camunda BPM Test Coverage as well as Scenario.
Best,
Martin.