Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-13138

Enable unit testing using JUnit 5

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • ALL COMPONENTS
    • None
    • Any

    Description

      I would like to propose an update of the JUnit version used by the framework from JUnit4 to JUnit5. Main driver besides a technology upgrade is the fact that certain testing apporaches likel e.g. Paramtereized Testing are miuch simpler in JUnit5 where JUnit4 only offers workarounds.

      Also, Asserts in JUnit5 are better separated in order to allow own extensions.

      A clear drawback is that the general approach to state asserts as well as test setup/teardown requires to rework all existing test case (ca 270 unit tests on the framework alone).

      Attachments

        Activity

          People

            Unassigned Unassigned
            c_schinzer Carsten Schinzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: