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

Function createTestStep

coderd/x/chatd/chatdebug/summary_test.go:455–462  ·  view source on GitHub ↗

createTestStep is a thin helper that creates a debug step with step number 1 for the given run.

(
	t *testing.T,
	fixture testFixture,
	runID uuid.UUID,
)

Source from the content-addressed store, hash-verified

453// createTestStep is a thin helper that creates a debug step with
454// step number 1 for the given run.
455func createTestStep(
456 t *testing.T,
457 fixture testFixture,
458 runID uuid.UUID,
459) database.ChatDebugStep {
460 t.Helper()
461 return createTestStepN(t, fixture, runID, 1)
462}
463
464// createTestStepN creates a debug step with the given step number.
465func createTestStepN(

Callers 1

Calls 2

createTestStepNFunction · 0.85
HelperMethod · 0.65

Tested by

no test coverage detected