Skip to content

using testcontainers-redis-junit-jupiter depends on org.junit.rules.TestRule #6

@eduyayo

Description

@eduyayo

running pure jupiter application (excluding junit) generates this error:
java: cannot access org.junit.rules.TestRule class file for org.junit.rules.TestRule not found

when having this code

@Container private static final RedisContainer REDIS_CONTAINER = new RedisContainer(DockerImageName.parse("redis:5.0.3-alpine")).withExposedPorts(6379);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions