Executes generation script commands to create test files. Processes each command in the script, handling both manual and generated tests. Requires generators to be pre-compiled (use compileAllGenerators first).
Array of generation commands
Available generators
Optional
Output directory for tests (defaults to ./tests)
If any command fails to execute
await executeGeneratorScript( [ { type: 'manual', manualFile: './tests/manual/sample.txt' }, ], generators, './tests/my-testset'); Copy
await executeGeneratorScript( [ { type: 'manual', manualFile: './tests/manual/sample.txt' }, ], generators, './tests/my-testset');
Executes generation script commands to create test files. Processes each command in the script, handling both manual and generated tests. Requires generators to be pre-compiled (use compileAllGenerators first).