[
https://issues.apache.org/jira/browse/FLINK-31955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126288#comment-18126288
]
Martijn Visser commented on FLINK-31955:
----------------------------------------
Since the rule is frozen, we could enable the test code architecture tests in
those modules and only fail on new JUnit 4 usage. The rule also only matches
the {{org.junit}} package itself, so {{org.junit.rules}}, {{org.junit.runner}}
and {{org.junit.runners}} pass.
> Prevent JUnit 4 usage for the new code with Checkstyle
> ------------------------------------------------------
>
> Key: FLINK-31955
> URL: https://issues.apache.org/jira/browse/FLINK-31955
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Environment: Based on
> [https://lists.apache.org/thread/xl456044hmxk87mwq02p4m22yp3b04sc] discussion.
>
> We'll set up a Checkstyle rule that disallows JUnit 4 usage and create a
> one-off suppression list for the existing violations.
> Reporter: David Morávek
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)