BUPKIS
    Preparing search index...

    Interface PropertyTestConfigVariantModel<Model, Real>

    Variant configuration for model-based testing with fast-check commands.

    Enables stateful property testing where a sequence of commands is applied to both a model (expected behavior) and a real implementation, verifying they remain consistent.

    interface PropertyTestConfigVariantModel<Model extends object, Real> {
        commands: Arbitrary<Command<Model, Real>>[];
        commandsConstraints: CommandsContraints;
        initialState: ModelRunSetup<Model, Real>;
        numRuns?: undefined;
        runSize?: "small" | "medium" | "large";
    }

    Type Parameters

    • Model extends object
    • Real

    Hierarchy (View Summary)

    Index

    Properties

    commands: Arbitrary<Command<Model, Real>>[]
    commandsConstraints: CommandsContraints
    initialState: ModelRunSetup<Model, Real>
    numRuns?: undefined

    Number of runs before success: 100 by default

    Since 1.0.0

    runSize?: "small" | "medium" | "large"