AutoBE
    Preparing search index...

    Interface IAutoBeTestRuntimeProps

    Properties for preparing an executable Test runtime workspace.

    interface IAutoBeTestRuntimeProps {
        database?: IDatabase;
        files: Record<string, string>;
        keepWorkspace?: boolean;
        reset?: boolean;
        simultaneous?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    database?: IDatabase

    Database environment strategy used by the generated test project.

    files: Record<string, string>

    Complete generated project files to materialize in the runtime workspace.

    keepWorkspace?: boolean

    Keeps the temporary workspace on disk for debugging when enabled.

    reset?: boolean

    Optional flag indicating whether to perform a complete database reset before test execution.

    When true, specifies that the test execution should begin with a comprehensive database reset, purging all existing data and reconstructing tables to their initial schema-defined state. When false, test execution proceeds with the current database state, which may contain residual data from previous operations.

    Database reset is crucial for ensuring test isolation, reproducibility, and deterministic results. Clean state testing eliminates interference from residual data and guarantees that each test execution cycle operates under identical baseline conditions, enabling accurate validation of backend implementation behavior.

    true
    
    simultaneous?: number

    Optional specification of the maximum number of test functions to execute concurrently during the test suite run.

    Defines the concurrent execution limit for E2E test functions to optimize testing performance while maintaining system stability and resource management. This value balances test execution speed with resource consumption and helps prevent system overload during comprehensive validation.

    Concurrent execution significantly reduces total testing time for large test suites while validating the backend application's ability to handle parallel requests correctly. The simultaneous limit ensures controlled load conditions that provide meaningful performance insights while maintaining test reliability and result accuracy.

    1