Skip to content

Ability to trace mocks #292

@thoni56

Description

@thoni56

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions