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

    Interface LocalTestset

    Local testset configuration.

    The generator script is plain Polygon-format text (inline or in a file); manual tests are listed separately so they can carry an explicit index and per-test metadata (group, points, useInStatements).

    LocalTestset

    {
    * name: 'tests',
    * generatorScript: {
    * script: [
    * '<#-- @group samples -->',
    * '<#-- (samples are usually manual; generators only here for illustration) -->',
    * '<#-- @group main -->',
    * 'gen-small 10 100 > $',
    * 'gen-big 1000000 > $',
    * ].join('\n')
    * },
    * manualTests: [
    * { input: './manual/tests/m-01-sample.in', index: 1,
    * group: 'samples', useInStatements: true }
    * ],
    * groupsEnabled: true,
    * groups: [{ name: 'samples' }, { name: 'main' }]
    * }
    interface LocalTestset {
        name: string;
        generatorScript?: GeneratorScript;
        manualTests?: LocalManualTest[];
        groupsEnabled?: boolean;
        pointsEnabled?: boolean;
        groups?: LocalTestGroup[];
    }
    Index

    Properties

    name: string

    Testset name (usually 'tests')

    generatorScript?: GeneratorScript

    Polygon-format script

    manualTests?: LocalManualTest[]

    Hand-authored test files

    groupsEnabled?: boolean

    Whether test groups are enabled

    pointsEnabled?: boolean

    Whether point scoring is enabled

    groups?: LocalTestGroup[]

    Test group configurations