You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi @jtyers, thanks for reporting this. What you write makes a lot of sense and I wished for the same feature a couple of times in the past. Unfortunately, these days I can't tell when I will be able to implement this. However, I'd be more than happy to merge a PR if you want to contribute.
Should you be interested, then it will probably make sense to quickly discuss here what the current output looks like in your specific case, and what you'd roughly wish for.
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.The text was updated successfully, but these errors were encountered: