interface TestContainer {
    addDateTimeTest(testProperties: DateTimeTestWorkerCreate): Promise<void>;
    addProcessTest(testProperties: ProcessTestWorkerCreate): Promise<void>;
    addTraceabilityTest(testProperties: TraceabilityTestWorkerCreate): Promise<void>;
    allTestEvents(): AllTestEventsApi;
    dateTime(scriptId: string): DateTimeTestApi;
    input(scriptId: string): InputTestApi;
    process(scriptId: string): ProcessTestApi;
    removeTest(scriptId: string): Promise<void>;
    traceability(scriptId: string): TraceabilityTestApi;
}

Implemented by

Methods

  • Adds a Date/Time test with the given properties to this sub-inspection

    Parameters

    Returns Promise<void>

  • Adds a Process test with the given properties to this sub-inspection

    Parameters

    Returns Promise<void>

  • Adds a Traceability test with the given properties to this sub-inspection

    Parameters

    Returns Promise<void>

  • Allows event binding to all tests on this sub-inspection.

    Returns AllTestEventsApi

    An object which allows access to test event bindings.

  • Allows modification, retrieval, and event binding of a Date/Time test with the given id.

    Parameters

    • scriptId: string

      Unique id of the test.

    Returns DateTimeTestApi

    An object which allows access to the test methods

  • Allows modification, retrieval, and event binding of an Input test with the given id.

    Parameters

    • scriptId: string

      Unique id of the test.

    Returns InputTestApi

    An object which allows access to the test methods

  • Allows modification, retrieval, and event binding of a Process test with the given id.

    Parameters

    • scriptId: string

      Unique id of the test.

    Returns ProcessTestApi

    An object which allows access to the test methods

  • Removes a test from the current test container.

    Parameters

    • scriptId: string

      The id of the test to remove.

    Returns Promise<void>

  • Allows modification, retrieval, and event binding of a Traceability test with the given id.

    Parameters

    • scriptId: string

      Unique id of the test.

    Returns TraceabilityTestApi

    An object which allows access to the test methods