Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mock: Caller information for unexpected method call #1642

Closed
spirin opened this issue Sep 28, 2024 · 1 comment
Closed

Mock: Caller information for unexpected method call #1642

spirin opened this issue Sep 28, 2024 · 1 comment

Comments

@spirin
Copy link
Contributor

spirin commented Sep 28, 2024

When using mocks in large integration tests, it is very difficult to find places of unexpected function calls.

Description

I suggest adding output of information about the location of the call.

Unfortunately, I don't have permission to create a pull request, so here is the diff patch:

Proposed solution

unexpected-method-caller-info.patch

Use case

unexpected method call  2024-09-28 at 18 20 01
@spirin
Copy link
Contributor Author

spirin commented Sep 30, 2024

I created a PR with this change #1644

@spirin spirin closed this as completed Sep 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant