Polyman Documentation - v2.2.2
    Preparing search index...

    Interface GeneratorScriptCommand

    Test generation script command. Represents a single command in a test generation script.

    GeneratorScriptCommand

    // Generator command
    {
    type: 'generator',
    generator: 'gen-random',
    args: ['10', '100']
    }
    // Manual test
    {
    type: 'manual',
    manualFile: './tests/manual/sample1.txt',
    group: 'samples'
    }
    interface GeneratorScriptCommand {
        type: "manual" | "generator";
        useInStatements?: boolean;
        generator?: string;
        manualFile?: string;
        group?: string;
        points?: number;
        range?: [number, number];
    }
    Index

    Properties

    type: "manual" | "generator"

    Command type

    useInStatements?: boolean
    generator?: string

    Generator name (for type='generator')

    manualFile?: string

    Path to manual test file (for type='manual')

    group?: string

    Test group assignment

    points?: number

    Points for this test

    range?: [number, number]