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

Finish migration to JUnit 5

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      In OPT-2187, we moved over some tests to use the JUnit 5 runner, and ran some of the other, more complicated tests that used Rules on the vintage runner. We should finish converting the now hybrid Extension/Rules into pure extensions, and update the remaining tests to be Junit 5 too, removing the vintage runner from our dependencies entirely.

      Josh notes for self:

      • group assertions
      • Find/create extension for changing system/environment properties
      • remove parameterization and vintage runner libraries
      • consider adding an super abstract IT class that has all the extensions setup, as in 90% of the It cases we have the same extension setup

      AT:

      • All tests are run using JUnit 5
      • Vintage runner is removed from dependencies
      • Test parameterization is done using the native annotation, with the previously used parameterization libraries used being removed from dependencies
      • Add AssertJ for tests

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                joshua.windels Joshua Windels
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce