You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "John Mark (Jira)" <ji...@apache.org> on 2021/04/13 21:12:00 UTC

[jira] [Created] (NIFI-8427) Remove JUnit dependency from nifi-mock

John Mark created NIFI-8427:
-------------------------------

             Summary: Remove JUnit dependency from nifi-mock
                 Key: NIFI-8427
                 URL: https://issues.apache.org/jira/browse/NIFI-8427
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: John Mark


nifi-mock currently has a dependency on JUnit 4. This forces users to include JUnit 4 in their build. This is not desirable for those who are not already using JUnit 4. For example, JUnit 5 has been out for a long time now, and those who use JUnit 5 don't want to have JUnit 4 on the test classpath. It pollutes the classpath and causes confusion. Those who use other test frameworks may also not want to be forced to include JUnit 4.

nifi-mock should not be dependent on any third party libraries or frameworks like this. Errors can be reported using custom Exceptions or Errors instead.



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