MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / renderCreateText

Function renderCreateText

src/commands/test.ts:922–929  ·  view source on GitHub ↗

* `test create` text-mode rendering. JSON-mode callers (the agent * surface) get the wire shape verbatim via `out.print`; text mode is * the human surface — one line per field, no shell-incompatible chars.

(response: CliCreateTestResponse)

Source from the content-addressed store, hash-verified

920 * the human surface — one line per field, no shell-incompatible chars.
921 */
922function renderCreateText(response: CliCreateTestResponse): string {
923 return [
924 `testId ${response.testId}`,
925 `type ${response.type}`,
926 `codeVersion ${response.codeVersion}`,
927 `createdAt ${response.createdAt}`,
928 ].join('\n');
929}
930
931/**
932 * §6.X / M3.2 piece-6 — response from `PUT /tests/{id}/plan-steps`.

Callers 3

runCreateFunction · 0.85
runCreateFromPlanFunction · 0.85
printRunOrChainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected