[jira] [Commented] (OFBIZ-11870) Migrate from JUnit 4 to JUnit 5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11870) Migrate from JUnit 4 to JUnit 5

Nicolas Malin (Jira)

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

Girish Vasmatkar commented on OFBIZ-11870:
------------------------------------------

OFBiz integration tests are based on classes extending the TestCase class. Should we not allow for a hybrid way of writing integration test cases based on classes that do not extend TestCase while also allowing old ways (extending TestCase and test methods starting with test) of writing test cases?
 
Is there any particular reason why we are still using TestCase class?

> Migrate from JUnit 4 to JUnit 5
> -------------------------------
>
>                 Key: OFBIZ-11870
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11870
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> With [JUnit 5?|https://markmail.org/message/uav5hgjhfldqsly2] thread I proposed to move from JUnit 4 to JUnit 5:
> {quote}
> I stumbled upon this tweet
>      https://twitter.com/junitteam/status/1036707906706698243
> Had a quick look at
>      https://junit.org/junit5/docs/5.3.0/release-notes/
>      https://www.baeldung.com/junit-5-migration
> {quote}
> The main enhancement I see is "Parallel Test Execution". This could speed our tests and that would be really appreciable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)