( params: TestSimulatorParams, executor: CommandExecutor, fileSystemExecutor: FileSystemExecutor = getDefaultFileSystemExecutor(), )
| 250 | } |
| 251 | |
| 252 | export async function test_simLogic( |
| 253 | params: TestSimulatorParams, |
| 254 | executor: CommandExecutor, |
| 255 | fileSystemExecutor: FileSystemExecutor = getDefaultFileSystemExecutor(), |
| 256 | ): Promise<void> { |
| 257 | const ctx = getHandlerContext(); |
| 258 | const prepared = await prepareTestSimExecution(params, executor, fileSystemExecutor); |
| 259 | |
| 260 | ctx.emit(createBuildInvocationFragment('test-result', 'TEST', prepared.invocationRequest)); |
| 261 | const executionContext = createStreamingExecutionContext(ctx); |
| 262 | const executeTestSim = createTestSimExecutor(executor, fileSystemExecutor, prepared); |
| 263 | const result = await executeTestSim(params, executionContext); |
| 264 | |
| 265 | setXcodebuildStructuredOutput(ctx, 'test-result', result); |
| 266 | } |
| 267 | |
| 268 | const publicSchemaObject = baseSchemaObject.omit({ |
| 269 | projectPath: true, |
no test coverage detected