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

    Interface TestOptions

    Options for adding or updating a test via the Polygon API. TestOptions

    const options: TestOptions = {
    checkExisting: true,
    testGroup: 'samples',
    testPoints: 10,
    testDescription: 'Sample test case 1',
    testUseInStatements: true,
    testInputForStatements: '1 2 3',
    testOutputForStatements: '6',
    verifyInputOutputForStatements: true
    };
    interface TestOptions {
        checkExisting?: boolean;
        testGroup?: string;
        testPoints?: number;
        testDescription?: string;
        testUseInStatements?: boolean;
        testInputForStatements?: string;
        testOutputForStatements?: string;
        verifyInputOutputForStatements?: boolean;
    }
    Index

    Properties

    checkExisting?: boolean

    Whether to check if test already exists

    testGroup?: string

    Name of the test group

    testPoints?: number

    Points assigned to the test

    testDescription?: string

    Description of the test

    testUseInStatements?: boolean

    Whether to use test in statements

    testInputForStatements?: string

    Input to show in statements

    testOutputForStatements?: string

    Output to show in statements

    verifyInputOutputForStatements?: boolean

    Verify I/O for statements