Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ability to trace mocks #292

Open
thoni56 opened this issue Mar 7, 2022 · 0 comments
Open

Ability to trace mocks #292

thoni56 opened this issue Mar 7, 2022 · 0 comments

Comments

@thoni56
Copy link
Contributor

thoni56 commented Mar 7, 2022

Sometimes it is hard to figure out which calls to mocks did fail. Especially if you have a long sequence of calls to functions like getChar() or similar, a trace would be handy.

cgreen_mocks_are(tracing_mocks);

would be a very handy way to activate trace printouts on stdout like:

Mock <function> called with <args> returning <value>
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

No branches or pull requests

1 participant