Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1854

Use parameterized tests for the flow node duration grouped by flow node reports

    XMLWordPrintable

Details

    • Task
    • Resolution: None
    • L3 - Default
    • 2.5.0-alpha1, 2.5.0
    • None
    • backend
    • None

    Description

      Currently, we have a separate test file for each operation of the flow node duration grouped by flow nodes reports:
      AverageFlowNodeDurationByFlowNodeReportEvaluationIT
      MaxFlowNodeDurationByFlowNodeReportEvaluationIT
      MedianFlowNodeDurationByFlowNodeReportEvaluationIT
      MinFlowNodeDurationByFlowNodeReportEvaluationIT

      However, that causes a lot of code duplication and makes it harder to maintain the tests. Also it becomes error prone, since we might to forget to test behavior in one of the tests. Hence, we should only use test class the uses parameterized tests. Check out other test classes how it is done there.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce