Shilun Fan created HADOOP-19691:
-----------------------------------

             Summary: Disallow JUnit4 Imports After JUnit5 Migration
                 Key: HADOOP-19691
                 URL: https://issues.apache.org/jira/browse/HADOOP-19691
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: build
    Affects Versions: 3.5.0
            Reporter: Shilun Fan
            Assignee: Shilun Fan


As our project has fully migrated to JUnit5, we should now enforce a rule that 
prevents the import and usage of JUnit4 classes (such as org.junit.Test, 
org.junit.Assert, etc.) to ensure consistency, avoid regressions, and allow 
safe removal of legacy dependencies.

This task involves identifying and eliminating any remaining JUnit4 imports, 
and introducing static code analysis or linting rules to ban future usage.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to