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

Function createPreflight

src/utils/__tests__/test-common.test.ts:28–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28function createPreflight(): TestPreflightResult {
29 return {
30 scheme: 'Weather',
31 configuration: 'Debug',
32 projectPath: 'Weather.xcodeproj',
33 destinationName: 'iPhone 17 Pro',
34 selectors: {
35 onlyTesting: [],
36 skipTesting: [],
37 },
38 targets: [
39 {
40 name: 'WeatherTests',
41 files: [
42 {
43 path: 'WeatherTests/WeatherTests.swift',
44 tests: [
45 {
46 framework: 'swift-testing',
47 targetName: 'WeatherTests',
48 typeName: 'WeatherTests',
49 methodName: 'emptySearchReturnsNoResults',
50 displayName: 'WeatherTests/WeatherTests/emptySearchReturnsNoResults',
51 line: 12,
52 parameterized: false,
53 },
54 ],
55 },
56 ],
57 warnings: [],
58 },
59 ],
60 warnings: [],
61 totalTests: 1,
62 completeness: 'complete',
63 };
64}
65
66describe('resolveTestProgressEnabled', () => {
67 const originalRuntime = process.env.XCODEBUILDMCP_RUNTIME;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected