Test generation script configuration. Defines how tests are generated using generators and manual test files.
GeneratorScript
// Using structured commands{ commands: [ { type: 'manual', manualFile: './tests/sample1.txt', group: 'samples' }, { type: 'manual', manualFile: './tests/sample2.txt', group: 'samples' }, { type: 'generator', generator: 'gen-random', args: ['1'] }, { type: 'generator', generator: 'gen-random', args: ['2'] }, { type: 'generator', generator: 'gen-large', args: ['1000', '10000'] } ]} Copy
// Using structured commands{ commands: [ { type: 'manual', manualFile: './tests/sample1.txt', group: 'samples' }, { type: 'manual', manualFile: './tests/sample2.txt', group: 'samples' }, { type: 'generator', generator: 'gen-random', args: ['1'] }, { type: 'generator', generator: 'gen-random', args: ['2'] }, { type: 'generator', generator: 'gen-large', args: ['1000', '10000'] } ]}
// Using Polygon-format script{ script: 'gen 1 > $\ngen 2 > $\ngen 10 20 > $'} Copy
// Using Polygon-format script{ script: 'gen 1 > $\ngen 2 > $\ngen 10 20 > $'}
// Using external script file{ scriptFile: './tests/generation-script.txt'} Copy
// Using external script file{ scriptFile: './tests/generation-script.txt'}
Optional
Array of generation commands
Inline script definition (Polygon format)
Path to external script file
Test generation script configuration. Defines how tests are generated using generators and manual test files.
GeneratorScript
Example
Example
Example