Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13167

Replace Hamcrest Matchers with JUnit Matchers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M3
    • Tools and Build
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h