[ https://issues.apache.org/jira/browse/KAFKA-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853444#comment-17853444 ]
Hector Geraldino commented on KAFKA-12199: ------------------------------------------ Sorry, what I meant is that the Mockito migration is now done, and I'd like to pick up this ticket and move the test classes from JUnit 4 to JUnit 5 (Jupiter) > 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 > > As part of the conversion we need to remove the following from `build.gradle` > and all the conditional code that calls it. > {code:java} > def shouldUseJUnit5 = !(["runtime"].contains(it.project.name)) {code} > Additionally, we can adjust the following snippet to include > `connect:runtime` if we decide to migrate tests incrementally. If we do the > complete migration in one go, then this is not required. > {code:java} > if (project.name == 'streams') { > useJUnitPlatform { > includeTags "integration" > includeTags "org.apache.kafka.test.IntegrationTest" > // Both engines are needed to run JUnit 4 tests alongside JUnit 5 tests. > // junit-vintage (JUnit 4) can be removed once the JUnit 4 migration > is complete. > includeEngines "junit-vintage", "junit-jupiter" > } > } {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)