You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use TestContainers in a project with JUnit 5.
I want to exclude JUnit 4 dependency to avoid the risk that some of our developers occasionally use wrong annotations.
But my project doesn't even compile without JUnit 4.
Relevant log output
> Task :compileTestJava FAILED
/Users/andrei/projects/selenide-examples/testcontainers/src/test/java/org/selenide/examples/SearchTestWithDocker.java:31: error: cannot access TestRule
.withRecordingMode(RECORD_ALL, new File("build"))
^
class file for org.junit.rules.TestRule not found
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Module
Core
Testcontainers version
1.19.0
Using the latest Testcontainers version?
Yes
Host OS
doesn't matter
Host Arch
doesn't matter
Docker version
doesn't matter
What happened?
I want to use TestContainers in a project with JUnit 5.
I want to exclude JUnit 4 dependency to avoid the risk that some of our developers occasionally use wrong annotations.
But my project doesn't even compile without JUnit 4.
Relevant log output
Additional Information
No response
The text was updated successfully, but these errors were encountered: