Skip to content

xdev-software/testcontainers-junit4-mock

Repository files navigation

Latest version Build Quality Gate Status

JUnit4-Mock for Testcontainers Java

Mocks the few JUnit 4 classes that testcontainers needs so that JUnit 4 can be excluded.

Fixes/Works around testcontainers-java#970

Usage

<dependency>
    <groupId>software.xdev</groupId>
    <artifactId>testcontainers-junit4-mock</artifactId>
</dependency>

<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>testcontainers</artifactId>
    <exclusions>
        <!-- No JUnit 4 -->
        <exclusion>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </exclusion>
    </exclusions>
</dependency>

Please note that you may need to insert the corresponding versions

Installation

Installation guide for the latest release

Support

If you need support as soon as possible and you can't wait for any pull request, feel free to use our support.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.

Dependencies and Licenses

View the license of the current project or the summary including all dependencies

Disclaimer: This is not an official Testcontainers product and not associated