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

    Interface ContextValue

    Execution context attached to one predicate run

    Since 2.2.0

    interface ContextValue {
        log(data: string): void;
        size(): number;
    }
    Index

    Methods

    Methods

    • Log execution details during a test. Very helpful when troubleshooting failures

      Parameters

      • data: string

        Data to be logged into the current context

      Returns void

      Since 1.8.0