package testcontainers
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait Container extends Startable with Stoppable
- trait ContainerDef extends AnyRef
- class DockerComposeContainer extends TestContainerProxy[org.testcontainers.containers.DockerComposeContainer[_]]
- final case class ExposedService(name: String, port: Int, waitStrategy: WaitStrategy = Wait.defaultWaitStrategy(), instance: Option[Int] = None) extends Product with Serializable
- class FixedHostPortGenericContainer extends SingleContainer[org.testcontainers.containers.FixedHostPortGenericContainer[_]]
- class GenericContainer extends SingleContainer[org.testcontainers.containers.GenericContainer[_]]
-
class
LazyContainer[T <: Container] extends Container with TestLifecycleAware
Lazy container wrapper aims to solve the problem of cross-container dependencies in
MultipleContainers
when a second container requires some after start data from a first one (e.g.Lazy container wrapper aims to solve the problem of cross-container dependencies in
MultipleContainers
when a second container requires some after start data from a first one (e.g. an application container needs JDBC url of a container with a database - in that case the url becomes available after the database container has started)You don't need to wrap your containers into the
LazyContainer
manually when you pass your containers in theMultipleContainers
- there is implicit conversion for that. - class MultipleContainers extends Container with TestLifecycleAware
- final case class ScaledService(name: String, numInstances: Int) extends Product with Serializable
- final case class Service(name: String) extends Product with Serializable
- final case class ServiceLogConsumer(serviceName: String, consumer: Consumer[OutputFrame]) extends Product with Serializable
- sealed trait Services extends AnyRef
- abstract class SingleContainer[T <: org.testcontainers.containers.GenericContainer[_]] extends TestContainerProxy[T]
- final case class WaitingForService(serviceName: String, waitStrategy: WaitStrategy) extends Product with Serializable
-
trait
TestContainerProxy[T <: FailureDetectingExternalResource] extends Container
- Annotations
- @deprecated
- Deprecated
For internal usage only. Will be deleted.
Value Members
- object DockerComposeContainer
- object ExposedService extends Serializable
- object FixedHostPortGenericContainer
- object GenericContainer
- object LazyContainer
- object MultipleContainers
- object Services