[ https://issues.apache.org/jira/browse/KAFKA-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265720#comment-17265720 ]
Chia-Ping Tsai commented on KAFKA-12199: ---------------------------------------- [~ijuma] PowerMock does not yet have native support for Junit5 (https://github.com/powermock/powermock/issues/830) and there are a lot of test depending on PowerMock functions. It means this PR could get bigger and more complicated as we not only migrate junit 4 to junit 5 but also migrate PowerMock to other mock tool. In order to simplify the review works, we should address following tasks before upgrading junit. 1. select a mock tool which can work with junit 5 - I prefer Mockito as it works well with junit 5 2. rewrite all tests which are depending on PowerMock - this task can be separate to different sub-task as I believe the new mock tool can bring a bunch of changes. WDYT? > Migrate connect:runtime module to JUnit 5 > ----------------------------------------- > > Key: KAFKA-12199 > URL: https://issues.apache.org/jira/browse/KAFKA-12199 > Project: Kafka > Issue Type: Sub-task > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Priority: Major > -- This message was sent by Atlassian Jira (v8.3.4#803005)