Member Junction
    Preparing search index...

    Options for running a single test

    interface TestRunOptions {
        agentVersion?: string;
        configOverride?: Record<string, unknown>;
        dryRun?: boolean;
        environment?: string;
        gitCommit?: string;
        logCallback?: (message: TestLogMessage) => void;
        progressCallback?: (progress: TestProgress) => void;
        repeatCountOverride?: number;
        tags?: string;
        variables?: TestRunVariables;
        verbose?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    agentVersion?: string

    Agent/system version being tested

    configOverride?: Record<string, unknown>

    Override test configuration

    dryRun?: boolean

    Validate configuration without executing

    environment?: string

    Environment context (dev, staging, prod)

    gitCommit?: string

    Git commit SHA for versioning

    logCallback?: (message: TestLogMessage) => void

    Log callback for streaming execution details to the test run log

    progressCallback?: (progress: TestProgress) => void

    Progress callback for real-time updates

    repeatCountOverride?: number

    Override the test's RepeatCount field at runtime. Useful for flaky-test detection: forces every test in the run to execute N times so the suite runner can compute score variance. If undefined, the test's own RepeatCount is used.

    tags?: string

    Tags to apply to the test run (JSON string array)

    variables?: TestRunVariables

    Variable values to use for this run. These values take highest priority in the resolution order: run > suite > test > type

    verbose?: boolean

    Verbose logging