You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2024/05/07 16:30:00 UTC

[jira] [Created] (NIFI-13167) Replace Hamcrest Matchers with JUnit Matchers

David Handermann created NIFI-13167:
---------------------------------------

             Summary: Replace Hamcrest Matchers with JUnit Matchers
                 Key: NIFI-13167
                 URL: https://issues.apache.org/jira/browse/NIFI-13167
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Tools and Build
            Reporter: David Handermann
            Assignee: David Handermann


Hamcrest 2.2 was released in 2019 and is the latest version available. A small number of test classes use Hamcrest matchers instead of JUnit matchers for assertions. The majority of these references do not provide any value beyond what is available in JUnit 5. Although a small number of assert methods can provide more useful failure messages, having a single library for test assertions makes it easier to maintain tests across the repository.



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