Documentation ¶
Overview ¶
Package testutil provides utilities for testing code that involves pools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDockerClientOrSkip ¶
func NewDockerClientOrSkip(t *testing.T) *dockerclient.Client
NewDockerClientOrSkip returns a local Docker client. The test is marked as skipped if there is no local Docker instance.
func NewTestPoolOrSkip ¶
NewTestPoolOrSkip returns a new local Pool useful for testing. The test is marked as skipped if the pool cannot be constructed because there is no local Docker instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.