Hello!
I’m trying to test a workflow which contains a user task. I’m working with camunda version 8.6 and I’ve looked into various documentation and associated repositories. So far I have found the testing libraries Zeebe Process Test and Camunda Process Test.
The zeebe process test library is marked as only partially supporting tests for camunda versions upwards of 8.5 and when trying to use it I’ve found that the given example of how to test a user task only works if the user task type is set to the deprecated ‘Job Worker’ instead of ‘Camunda user task’. Technically a process with a job worker type user task is still deployable (in camunda saas) and works as expected but I would rather not go this route.
In comparison the camunda process test library is noted to be still in development. There is no example given of how to test a user task (and the given example project in fact showcases how to test with the latest 8.8.0 alpha release instead of the 8.6.8 stable release). While I’ve tried adapting the examples of both libraries to allow me to test a user task with the camunda test library I’ve so far been unsuccessful.
As such, I have a couple of questions:
- Does the camunda process test library support testing of user tasks at all? If so, in which version? And is there an example available?
- Does the zeebe process test library support testing of ‘camunda user task’ typed user tasks? Is it simply a matter of exchanging the string used in line 144 of the given example? If so, which value should be inserted instead?
Thanks for any and all feedback!