MCPcopy Create free account
hub / github.com/coder/coder / runTestConversation

Function runTestConversation

scaletest/chat/run_internal_test.go:218–222  ·  view source on GitHub ↗
(t *testing.T, runner *Runner, chatID uuid.UUID, events <-chan codersdk.ChatStreamEvent, markTurnStartReady func())

Source from the content-addressed store, hash-verified

216}
217
218func runTestConversation(t *testing.T, runner *Runner, chatID uuid.UUID, events <-chan codersdk.ChatStreamEvent, markTurnStartReady func()) error {
219 t.Helper()
220 runner.resetConversation(time.Now(), markTurnStartReady)
221 return runner.runConversation(context.Background(), chatID, testLogger(), events)
222}
223
224func TestRunnerCleanup(t *testing.T) {
225 t.Parallel()

Callers 1

Calls 4

resetConversationMethod · 0.80
runConversationMethod · 0.80
testLoggerFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected