Closed
Description
openedon Nov 18, 2019
Version: 1.12.3
@Container
public static KafkaContainer kafka = new KafkaContainer(TestContainerHelper.TEST_KAFKA_CONTAINER_VERSION);
The test containers (in my case Kafka) extend from 'GenericContainer'.
Then we have:
GenericContainer extends FailureDetectingExternalResource implements TestRule
The problem is that when you are trying to get rid of all your junit4 dependencies it fails at runtime.
The library is compatible Junit5 but this is an annoying restriction for people who want to migrate 100%.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment