Skip to content

[CPT] Generate a process diagram if a test fails #23143

@saig0

Description

@saig0

Description

If a process test fails, the failed assertion prints specific information, for example, the state of a process instance (e.g. expected completed but was active). I need more information to debug the failed test cases, such as the process diagram with the active elements of a process instance.

This is similar to the process coverage report but from a different perspective. Instead of looking at a process and the overall coverage, we look at an individual process instance.

Take inspiration from the community project camunda-process-test-coverage.

Tasks

  • Generate an HTML report for all started process instances
  • For each process instance:
    • Show the process diagram
    • Show the active, completed, and terminated elements
    • Show the taken sequence flows

requires #23092
related to #19257

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/camunda-process-testRelated to the Camunda-Process-Test componentkind/featureCategorizes an issue or PR as a feature, i.e. new behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions