-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve failure output when using pinned variables #30
Comments
Thank you for a detailed example, I always used |
If you need any assistance, I'm happy to help. 🙂 |
Any progress on this issue? It's one of the pain points of using mockery. |
Hello @rhnonose Output for assertion failure is generated in Few challenges makes this nontrivial:
At this point, I would prefer to rewrite whole |
As the title suggests, the output is currently not very helpful when using pinned variables.
See an example below:
If then the test fails the output looks like this (output shortened by using
<placeholders>
):This makes it very, very hard to find out why a particular test fails.
Compare this to how
ex_unit
handles pinned variables:The text was updated successfully, but these errors were encountered: