API Reference | fast-check | Property based testing framework
    Preparing search index...

    Interface CommandsContraints

    Parameters for commands

    Since 2.2.0

    interface CommandsContraints {
        disableReplayLog?: boolean;
        maxCommands?: number;
        replayPath?: string;
        size?: SizeForArbitrary;
    }
    Index

    Properties

    disableReplayLog?: boolean

    Do not show replayPath in the output

    false
    

    Since 1.11.0

    maxCommands?: number

    Maximal number of commands to generate per run

    You probably want to use size instead.

    0x7fffffff — defaulting seen as "max non specified" when defaultSizeToMaxWhenMaxSpecified=true

    Since 1.11.0

    replayPath?: string

    Hint for replay purposes only

    Should be used in conjonction with { seed, path } of assert

    Since 1.11.0

    Define how large the generated values (number of commands) should be (at max)

    Since 2.22.0