Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
As part of the conversion we need to remove the following from `build.gradle` and all the conditional code that calls it.
def shouldUseJUnit5 = !(["runtime"].contains(it.project.name))
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.
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" } }
Attachments
Issue Links
- is blocked by
-
KAFKA-14683 Replace EasyMock and PowerMock with Mockito in WorkerSinkTaskTest
- Resolved
-
KAFKA-7438 Replace EasyMock and PowerMock with Mockito
- Resolved
-
KAFKA-12220 Replace PowerMock by Mockito (partial)
- Resolved