Skip to content

Improved mock expectations not satisfied message #45

Closed
@kellpossible

Description

@kellpossible

I get the following panic message when my mock expectation is not met.

thread 'my_test' panicked at 'Verification failed: mock expectations have not been satisfied.

It would be good for the error message to be more explicit with how it has failed to meet this expectation. In my situation showing the expected number of calls, and the actual number of calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions