You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Carsten Schinzer (Jira)" <ji...@apache.org> on 2020/05/27 06:07:00 UTC

[jira] [Created] (OFBIZ-11744) As an OFBiz Developer I want to use parametrized Unit Testing

Carsten Schinzer created OFBIZ-11744:
----------------------------------------

             Summary: As an OFBiz Developer I want to use parametrized Unit Testing
                 Key: OFBIZ-11744
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11744
             Project: OFBiz
          Issue Type: Improvement
          Components: Gradle, tools
    Affects Versions: Trunk
            Reporter: Carsten Schinzer


In order to run the same test logic with various values and test the framework's behaviour I want to use parametrized JUnit Testing. This will work through several approaches:
 * JUnit4 offers the use of runners and comes with a org.junit.runners.Parameterized on board.
 * JUnitParams is an open source extension to ease the use of params.
 * JUnit5 comes with a different approach

Overview articles can be found here:

[https://blog.parasoft.com/how-to-create-junit-parameterized-tests-faster]

[https://www.testwithspring.com/lesson/writing-parameterized-tests-with-junit-4/]

[https://github.com/Pragmatists/junitparams/wiki/Quickstart]

[https://www.baeldung.com/junit-params]

 



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