Camunda Unit Testing Framework Setup

Hi Camunda Team,
I’m fairly new to Camunda and development, and have created some BPMN workflows. I want to use the unit testing framework (GitHub - camundacon2019/process-testing: Fluently test complex processes with BPM Assert) to test my BPMN. How can I set up the unit testing framework on my local machine such that I can test my BPMN easily?

Hey @anilku and welcome to the Forum! :slight_smile:
A while ago I have implemented some unit tests in the Java training for Camunda Platform 7. They are still written in JUnit 4 but we are supporting JUnit 5 as well.

You can find the repository right here:

We do also have some more documentation about this topic.
Take a look here: Testing | docs.camunda.org
The official GitHub repository of that extension can be found here: camunda-bpm-platform/test-utils/assert at master · camunda/camunda-bpm-platform · GitHub

Let me know if that’s sufficient for you to get started. :slight_smile:
Best,
Thomas

1 Like