testcontainers-scala
testcontainers-scala copied to clipboard
Docker containers for testing in scala
If we define `test-containers-localstack-v2-aws-only2.sc` as: ``` using lib "software.amazon.awssdk:auth:2.17.250" using lib "com.dimafeng::testcontainers-scala-localstack-v2:0.40.10" import com.dimafeng.testcontainers.LocalStackV2Container LocalStackV2Container() ``` then there is compile error: ``` $ scala-cli test-containers-localstack-v2-aws-only2.sc Exception in thread "main" java.lang.NoClassDefFoundError:...
Hello, I have a few containers running and I don't want to rerun the containers during test suits to speed up my tests. There is a way to reuse the...
Despite ``` DockerComposeContainer(..., pull = true, ...) ``` the latest version of the images is not being pulled. I need to run `docker compose pull` manually.
I'm scala beginner. when I use: ` ScriptUtils.runInitScript(new JdbcDatabaseDelegate(mysqlContainer.container, ""), "sql/schema-notification.sql")` I encountered a error: Type mismatch: Required: JdbcDatabaseContainer[SELF] forSome {type SELF: JdbcDatabaseContainer[SELF] } Found: MySQLContainer[_]
There are some binary compatible issues in https://github.com/scalameta/munit/releases/tag/v1.0.0-M1 but as it appears they are source compatible meaning we'd need to recompile against the milestone.
I encountered the following error for `sbt test`. ``` org.testcontainers.containers.ContainerLaunchException: Local Docker Compose exited abnormally with code 1 whilst running command: up -d ``` Solved by unchecking the option Use...
Hi everyone. Java TestContainers [supports](https://github.com/testcontainers/testcontainers-java/issues/234) the privileged containers run. It might be really handy to use testcontainers on Fedora and other SELinux workstations. As far as i see, in this...
support of [weaver test framework](https://github.com/disneystreaming/weaver-test) this framework works best when a tested code is based on cats effect. i'm keen to contribute
After version 0.38.5 it seems that behaviour has changed in how versions should be specified and mockserver hasn't been updated. It fails on: `com.github.dockerjava.api.exception.NotFoundException: Status 404: {"message":"manifest for jamesdbloom/mockserver:mockserver-mockserver-5.5.4 not...
Not an issue but more of a question. testcontainers-java now features a module for lightweight Kubernetes clusters called K3s: https://github.com/testcontainers/testcontainers-java/blob/master/modules/k3s/src/main/java/org/testcontainers/k3s/K3sContainer.java The module documentation can be found here: https://www.testcontainers.org/modules/k3s/ Will this...