MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / formatTestSelectionSummary

Function formatTestSelectionSummary

src/utils/test-preflight.ts:495–510  ·  view source on GitHub ↗
(preflight: TestPreflightResult)

Source from the content-addressed store, hash-verified

493}
494
495export function formatTestSelectionSummary(preflight: TestPreflightResult): string | undefined {
496 if (
497 preflight.selectors.onlyTesting.length === 0 &&
498 preflight.selectors.skipTesting.length === 0
499 ) {
500 return undefined;
501 }
502
503 const lines = [
504 ' Selective Testing:',
505 ...preflight.selectors.onlyTesting.map((selector) => ` ${selector.raw}`),
506 ...preflight.selectors.skipTesting.map((selector) => ` Skip Testing: ${selector.raw}`),
507 ];
508
509 return lines.join('\n');
510}
511
512export function formatTestDiscovery(
513 preflight: TestPreflightResult,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected