Camunda Team Blog

Testing BPMN processes with fluent assertions: Awesome!

Written by Daniel Meyer on , under Execution category.
Sometimes this topic comes up in the camunda BPM foums and I cannot stress & highlight this enough! :)

Writing test cases for your BPMN processes is a vital part of good process implementation. However, writing good, maintainable testcases can be cumbersome because you may have to write a lot of boilerplate code and the resulting testcases are often hard to read and understand. As a community extension, Martin Schimak has developed a fluent and well readable API, camunda BPM assert:


Awesome, right? Using the Api frees your test code of a lot of boilerplate details, makes it easy to read and maintain. Without assert, that same testcase would look like this:



From a project management perspective, the project is very mature (it is the result of almost two years of on and off discussion and prototyping)  and well documented and is recommended for heavy usage in any camunda BPM project! :)

Enjoy.