You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/01/18 09:29:00 UTC

[jira] [Created] (KAFKA-12220) Replace PowerMock by Mockito

Chia-Ping Tsai created KAFKA-12220:
--------------------------------------

             Summary: Replace PowerMock by Mockito
                 Key: KAFKA-12220
                 URL: https://issues.apache.org/jira/browse/KAFKA-12220
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


We are migrating project from junit 4 to junit 5 (KAFKA-7339). PowerMock, however, does not support junit 5 totally (https://github.com/powermock/powermock/issues/830). Hence, we ought to replace PowerMock by Mockito before migrating to junit 5 since rewriting all tests which are depending on PowerMock can bring a bunch of changes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)