func ParallelTest(t *testing.T, versions []Version, readyFn IsReadyFunc, testFn TestFunc)
DockerContainer implements Instance interface
type DockerContainer struct { ImageName string ENV []string Cmd []string ContainerId string ContainerName string ContainerJSON dockertypes.ContainerJSON // contains filtered or unexported fields }
func NewDockerContainer(t testing.TB, image string, env []string, cmd []string) (*DockerContainer, error)
func (d *DockerContainer) Host() string
func (d *DockerContainer) Inspect() error
func (d *DockerContainer) KeepForDebugging()
func (d *DockerContainer) Logs() (io.ReadCloser, error)
func (d *DockerContainer) NetworkSettings() dockertypes.NetworkSettings
func (d *DockerContainer) Port() uint
func (d *DockerContainer) PortFor(cPort int) uint
func (d *DockerContainer) PullImage() (err error)
func (d *DockerContainer) Remove() error
func (d *DockerContainer) Start() error
type Instance interface { Host() string Port() uint PortFor(int) uint NetworkSettings() dockertypes.NetworkSettings KeepForDebugging() }
type IsReadyFunc func(Instance) bool
type TestFunc func(*testing.T, Instance)
type Version struct { Image string ENV []string Cmd []string }