Skip to content

[Enhancement]: Remove Junit4 #7595

Closed as not planned
Closed as not planned

Description

Module

Core

Proposal

Not able to exclude Junit 4 from TestContainers like below and if I do like below getting error as "class file for org.junit.rules.TestRule not found"

 <dependency>
      <groupId>org.testcontainers</groupId>
      <artifactId>testcontainers</artifactId>
      <exclusions>
        <exclusion>
          <groupId>junit</groupId>
          <artifactId>junit</artifactId>
        </exclusion>
      </exclusions>
      <scope>test</scope>
    </dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions