camunda BPM Incubation Project n Library that aims at easin the creation of readable and fluent tests when developin process-centric applications based on the camunda BPMN process en ine n Fork me at https:// ithub.com/camunda/camunda-bpm-testin 2 2
tests need a fluent process API 5 pi.task().complete() Task task = taskService.createTaskQuery() .processInstanceId(pi. etId()).sin leResult(); taskService.complete(task. etId()); ? or Beware: quite experimental! 5
to share an unfinished thou ht … n In todays process tests we typically focus on n mockin / stubbin the behavior of some collaborators (services) … n … and expectin to see specific effects: wait states and service calls n while explicitely drivin the process alon the sequence flow … n When we chan e the internals of a process, those tests typically break…! n it‘s even enou h to chan e e. . the „async“ fla of a service call … n … but hey, what is that unit, whose behavior we actually wanted to test…? n I think we could even more than now focus on n mockin / stubbin the behavior of all collaborators (services & humans) … n … and expectin to see specific process external effects … n … while automatically drivin the process alon the sequence flow 8 8
very welcome! n camunda USR list: camunda-bpm-users@ oo le roups.com n camunda DEV list: camunda-bpm-dev@ oo le roups.com 9 Martin Schimak <[email protected]> 9