AutoBE
    Preparing search index...

    Interface AutoBeTestOperationFunction

    E2E test scenario function with domain classification.

    Michael

    interface AutoBeTestOperationFunction {
        content: string;
        domain: string;
        location: string;
        name: string;
        scenario: Omit<AutoBeTestScenario, "functionName">;
        type: "operation";
    }

    Hierarchy

    • AutoBeTestFunctionBase<"operation">
      • AutoBeTestOperationFunction
    Index

    Properties

    content: string

    The complete source code content of the test function. Contains the full implementation including function signature and body.

    domain: string

    Business domain for test organization (e.g., "user", "order", "payment").

    location: string

    The file system location where this test function will be written. Should be an absolute or relative path to the target test file.

    name: string

    The name identifier of the function. Used to reference the function within the test suite.

    scenario: Omit<AutoBeTestScenario, "functionName">

    Test scenario metadata (target endpoints, expected behavior, prerequisites).

    type: "operation"

    Discriminator field that identifies the specific type of test function. Used for discriminated union pattern to distinguish between different test function types.