[ 
https://issues.apache.org/jira/browse/KAFKA-12199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17853441#comment-17853441
 ] 

Hector Geraldino commented on KAFKA-12199:
------------------------------------------

Hey [~chia7712],

Now that all connect:runtime tests have been migrated to Mockito, let me pick 
up this ticket and move everything to JUnit5 (I'll submit the first PR soon)

> 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)

Reply via email to