[
https://issues.apache.org/jira/browse/NIFI-11035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-11035:
------------------------------------
Description: A quick search nifi-commons for "org.junit.Assert" indicates
there are over 50 cases where JUnit 4 assertions are still being used. These
should be replaced with JUnit 5 assertions. In addition all Groovy assert
statements should be replaced with appropriate JUnit 5 assertions and all
instances of Groovy shouldFail method should be replaced with Junit5
assertThrows. (was: A quick search nifi-commons for "org.junit.Assert"
indicates there are over 50 cases where JUnit 4 assertions are still being
used. These should be replaced with JUnit 5 assertions.)
> Replace remaining JUnit 4 assertions in nifi-commons with JUnit 5 assertions
> ----------------------------------------------------------------------------
>
> Key: NIFI-11035
> URL: https://issues.apache.org/jira/browse/NIFI-11035
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A quick search nifi-commons for "org.junit.Assert" indicates there are over
> 50 cases where JUnit 4 assertions are still being used. These should be
> replaced with JUnit 5 assertions. In addition all Groovy assert statements
> should be replaced with appropriate JUnit 5 assertions and all instances of
> Groovy shouldFail method should be replaced with Junit5 assertThrows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)