Skip to content

[CPT] Generate a process coverage JSON report #19257

@saig0

Description

@saig0

Description

In Camunda Process Test, I want to see the process coverage after running the process tests (i.e. which BPMN elements were completed and which sequence flows were taken during the test). Take inspiration from the community project camunda-process-test-coverage.

Tasks

  • Create a JSON report for the process coverage after running the process tests. The report contains the following information:
    • Completed BPMN elements
    • Taken sequence flows
    • Coverage ratio of BPMN elements and sequence flows
  • Create an aggregated report over all tests
  • Create a detailed report per test class with individual results per test method
  • Provide an option to exclude processes from the coverage report
  • Print the aggregated report in the log

For example:

Process coverage:
========================
- my-process-1: 56%
- my-process-2: 20%

See more details: <link to the JSON file>

related to #23143

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions