Carsten Schinzer created OFBIZ-13138:
----------------------------------------

             Summary: Enable unit testing using JUnit 5
                 Key: OFBIZ-13138
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13138
             Project: OFBiz
          Issue Type: Improvement
          Components: ALL COMPONENTS
         Environment: Any
            Reporter: Carsten Schinzer


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).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to