Process Test Coverage Report

  • Blog
  • >
  • Process Test Coverage Report

As part of the Hack Days this year my colleague Falko migrated an existing tool we (Camunda Consulting) used with success in a lot of projects to bpmn.io: The Process Test Coverage Report Generator. It just hooks into an automated test (typically JUnit) and creates an HTML report showing the coverage:

  • For every Test Case
  • For the whole Test Suite
See this example for one test case – obviously the Happy Path of the process model:

Happy Path of the process model

The report can easily be watched locally within your IDE or hooked into your Jenkins Build. See GitHub Readme for details.
By the way – our Best Practice is to go for “Flow Node Coverage” – so your Test Suite should “visit” each BPMN Flow Node (Events, Activities, Gateways, …) at least once.
Happy Testing!

Try All Features of Camunda

Related Content

Don't replace governance with black-box AI. Blend intelligence with control, using agentic orchestration in an orchestrated process.
Evolve without disruption with process instance migration and agentic AI.
Camunda 8.8 provides notable enhancements to our orchestration cluster and how it is deployed and operated. Read on to learn more.