MCPcopy Index your code
hub / github.com/coder/coder / Start

Function Start

cli/clitest/clitest.go:172–174  ·  view source on GitHub ↗

Start runs the command in a goroutine and cleans it up when the test completed.

(t *testing.T, inv *serpent.Invocation)

Source from the content-addressed store, hash-verified

170// Start runs the command in a goroutine and cleans it up when the test
171// completed.
172func Start(t *testing.T, inv *serpent.Invocation) {
173 StartWithAssert(t, inv, nil)
174}
175
176// StartWithAssert starts the given invocation and calls assertCallback
177// with the resulting error when the invocation completes. If assertCallback

Callers 15

TestCliTemplateCreateFunction · 0.92
TestGitAskpassFunction · 0.92
TestExternalAuthFunction · 0.92
TestWorkspaceAgentFunction · 0.92
TestRenameFunction · 0.92
TestServerFunction · 0.92
TestServer_ProductionFunction · 0.92

Calls 1

StartWithAssertFunction · 0.85

Tested by 15

TestCliTemplateCreateFunction · 0.74
TestGitAskpassFunction · 0.74
TestExternalAuthFunction · 0.74
TestWorkspaceAgentFunction · 0.74
TestRenameFunction · 0.74
TestServerFunction · 0.74
TestServer_ProductionFunction · 0.74