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

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

      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.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: