@archastro/sdk
    Preparing search index...

    Interface ScriptTestRunResult

    Schema for the result of running a ScriptTest

    interface ScriptTestRunResult {
        assertion_count?: number;
        error?: string;
        findings?: Record<string, unknown>[];
        output?: ScriptTestOutputEntry[];
        passed: boolean;
        suites?: ScriptTestSuite[];
        tests?: ScriptTestCase[];
    }
    Index

    Properties

    assertion_count?: number

    Total number of test.expect(...) matcher calls that ran

    error?: string

    Top-level error message when a runtime error fired outside any it block (parse/tokenize errors return 422 instead)

    findings?: Record<string, unknown>[]

    Structured diagnostics with position info for editor markers when the run errored before any tests could run

    Non-test output entries (println, log.*) interleaved during the run

    passed: boolean

    True when every test in every suite passed

    suites?: ScriptTestSuite[]

    One entry per describe path

    tests?: ScriptTestCase[]

    Flat list of every it that ran, each with assertions and pass flag