You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Groza Danut (Jira)" <ji...@apache.org> on 2024/09/10 11:21:00 UTC

[jira] [Commented] (OFBIZ-13138) Enable unit testing using JUnit 5

    [ https://issues.apache.org/jira/browse/OFBIZ-13138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880598#comment-17880598 ] 

Groza Danut commented on OFBIZ-13138:
-------------------------------------

Hi Carsten! I also agree we should update to JUnit5. I would also help you in updating the tests, as much as my time allows, if we go forward with this. 

> 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
>            Priority: Major
>
> 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)