MCPcopy
hub / github.com/docker/compose / NewParallelCLI

Function NewParallelCLI

pkg/e2e/framework.go:89–93  ·  pkg/e2e/framework.go::NewParallelCLI

NewParallelCLI marks the parent test as parallel and returns a CLI instance suitable for usage across child tests.

(t *testing.T, opts ...CLIOption)

Source from the content-addressed store, hash-verified

87// NewParallelCLI marks the parent test as parallel and returns a CLI instance
88// suitable for usage across child tests.
89func NewParallelCLI(t *testing.T, opts ...CLIOption) *CLI {
90 t.Helper()
91 t.Parallel()
92 return NewCLI(t, opts...)
93}
94
95// NewCLI creates a CLI instance for running E2E tests.
96func NewCLI(t testing.TB, opts ...CLIOption) *CLI {

Callers 15

TestLocalComposeConfigFunction · 0.85
TestEnvPriorityFunction · 0.85
TestEnvInterpolationFunction · 0.85
TestCommentsInEnvFileFunction · 0.85
TestUnsetEnvFunction · 0.85
TestPostStartHookInErrorFunction · 0.85
TestPostStartHookSuccessFunction · 0.85
TestPreStopHookSuccessFunction · 0.85
TestPreStopHookInErrorFunction · 0.85
TestPreStartHookSuccessFunction · 0.85

Calls 1

NewCLIFunction · 0.85

Tested by 15

TestLocalComposeConfigFunction · 0.68
TestEnvPriorityFunction · 0.68
TestEnvInterpolationFunction · 0.68
TestCommentsInEnvFileFunction · 0.68
TestUnsetEnvFunction · 0.68
TestPostStartHookInErrorFunction · 0.68
TestPostStartHookSuccessFunction · 0.68
TestPreStopHookSuccessFunction · 0.68
TestPreStopHookInErrorFunction · 0.68
TestPreStartHookSuccessFunction · 0.68