Finish migration to JUnit 5

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.7.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      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

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: