BUPKIS
    Preparing search index...

    Interface PropertyTestConfig

    Configuration for property-based tests that extends fast-check's Parameters.

    Split into four different variants to allow specific configuration for valid (non-throwing) and invalid (throwing) cases, both for normal and negated assertions.

    Generally, only valid and invalid are needed, since for most assertions, valid will be the same as invalidNegated, and invalid will be the same as validNegated.

    interface PropertyTestConfig {
        invalid: PropertyTestConfigVariant;
        invalidNegated?: PropertyTestConfigVariant;
        numRuns?: undefined;
        runSize?: "small" | "medium" | "large";
        valid: PropertyTestConfigVariant;
        validNegated?: PropertyTestConfigVariant;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Generator for invalid input (should fail the assertion)

    invalidNegated?: PropertyTestConfigVariant

    Generator for invalid input in negated form (should fail the negated assertion)

    numRuns?: undefined

    Number of runs before success: 100 by default

    Since 1.0.0

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

    Generator for valid input (should pass the assertion)

    Generator for valid input in negated form (should pass the negated assertion)