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
*Note: there is no specific recommendation to use one of them, over the other, but we hear people using Spotify's one more often, so you might get better support for it*.
19
-
20
-
There are separate artifacts available for these libraries:
You don't necessarily have to use `scalatest` dependency as demonstrated above.
39
-
You can create your custom bindings into your test environment, whether you use different initialisation technique or different framework.
40
-
Have a look at [this specific trait](https://github.com/whisklabs/docker-it-scala/blob/master/scalatest/src/main/scala/com/whisk/docker/scalatest/DockerTestKit.scala)
41
-
42
-
43
-
### Overriding execution environment
44
-
45
-
If you need to have a custom environment setup, you need to override `dockerFactory` field, providing `DockerClient` instance
You can check [usage example](https://github.com/whisklabs/docker-it-scala/blob/master/scalatest/src/test/scala/com/whisk/docker/MongodbServiceSpec.scala)
112
-
113
-
## Typesafe Configuration
114
-
115
-
`docker-testkit-config` enables you to use a typesafe config to
116
-
define your docker containers. Just put an `application.conf` file in
117
-
your classpath.
118
-
119
-
The container definitions are nested in the structure of name `docker`
You can check [usage example](https://github.com/whisklabs/docker-it-scala/blob/master/tests/src/test/scala/com/whisk/docker/testkit/test/MongodbServiceTest.scala)
144
72
145
73
### Container Paths
146
74
147
-
- Cassandra => `docker.cassandra`
148
75
- Elasticsearch => `docker.elasticsearch`
149
-
- Kafka => `docker.kafka`
150
76
- Mongodb => `docker.mongo`
151
-
- Neo4j => `docker.neo4j`
77
+
- Neo4j => `docker.mysql`
152
78
- Postgres => `docker.postgres`
153
79
154
80
### Fields
@@ -200,19 +126,23 @@ class MyMongoSpec extends FlatSpec with Matchers with DockerMongodbService {
0 commit comments