Skip to content

Diff-style output for verification failures #102

@jtyers

Description

@jtyers

I have a test making calls to an interface with a fairly large struct. When the test fails owing to a verification failure, I have to scan through the error text to find the differences. Other frameworks I've used display a diff of the input/output (diffing the expected call versus actual call) to allow me to quickly see what is wrong.

Could you add similar diff-style output to pegomock? It would make it much easier to narrow down bugs.

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