Skip to content

Conversation

rusinov-artem
Copy link

This method allow to see not only file:line where the mock was called from, but also some file:line entries down the stack.

Why do I need it?

#269

Some times i like to declare my mock calls not directly in the test, but in a helper function. And than i use this helper function to make my tests more readable.
When mock expectations fails error message point me to the helper function
file:line position, but i want also see where it was called in the test func

This method allow to see not only file:line where the mock was called
from, but also some file:line entries down the stack
@CLAassistant
Copy link

CLAassistant commented Jul 13, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants