@servicenow/sdk - v4.13.3
    Preparing search index...
    TestSuiteEntry:
        | ReturnType<typeof Test>
        | string
        | {
            abortOnFailure?: boolean;
            order?: number;
            test: ReturnType<typeof Test> | string;
        }

    One entry in a suite's tests list: either a bare Test(...) reference/sys_id (runs with abortOnFailure: false), or an object naming the test with an abortOnFailure override.

    Type Declaration

    • ReturnType<typeof Test>
    • string
    • {
          abortOnFailure?: boolean;
          order?: number;
          test: ReturnType<typeof Test> | string;
      }
      • OptionalabortOnFailure?: boolean

        Stop running the rest of the suite's tests immediately if this one fails. Defaults to false. Ignored by ATF's cloud/parallel test runner, which always runs every test in the suite regardless of this setting — informational only, since triggering or running suites is outside this API's scope.

      • Optionalorder?: number

        Pins this entry's numeric order instead of deriving it from array position. Use to preserve existing custom/gapped order values (100, 200, 300, ...) when adopting Fluent for a suite that already has them. Entries without this still derive order from position; pinned and derived entries can mix freely. Collisions with another entry's final order trigger a build-time hint, since ATF doesn't guarantee run order between ties.

      • test: ReturnType<typeof Test> | string

        The test to include in this suite. Accepts a Test(...) reference or its raw sys_id.