package testutil
import "github.com/docker/docker/testutil"
Package testutil contains common testing tasks like running dockerd.
Index ¶
Variables ¶
DevZero acts like /dev/zero but in an OS-independent fashion.
Functions ¶
func GenerateRandomAlphaOnlyString ¶
GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.
Types ¶
type HelperT ¶
type HelperT interface {
Helper()
}
HelperT is a subset of testing.T that implements the Helper function
Source Files ¶
doc.go helper.go helpers.go stringutils.go
Directories ¶
Path | Synopsis |
---|---|
testutil/daemon | Package daemon launches dockerd for testing purposes. |
testutil/environment | |
testutil/fakecontext | |
testutil/fakegit | |
testutil/fakestorage | |
testutil/fixtures | |
testutil/fixtures/load | |
testutil/fixtures/plugin | |
testutil/fixtures/plugin/basic | |
testutil/registry | |
testutil/request |
- Version
- v20.10.25+incompatible
- Published
- May 4, 2023
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.