-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add hints for well-known differences like "whitespace-only changes", "end-line-markers differ", "unified diff|" #1666
Comments
I totally agree (see robstoll/atrium-roadmap#39 for further ideas regarding a diff in the IDE). I would like to split the issue into two, the CR vs CRLF hint could be tackled easily (there is already an issue: #834) and be done in addition to the diff is a bit harder |
Are there generic ways to add hints or should I try treating |
I am not sure what you mean by "a generic way to add a hint".
of course, this will only cover the toEqual case but not |
@vlsi Just came to my mind that we already have a ShowOption which allows to define when the failure hint shall be shown and in which case not. In the above it was defined that it shall be shown if the subject is defined. (done within withHelpOnFailureBasedOnDefinedSubject)
|
@vlsi I have added a param
|
Platform (all, jvm, js): all
Extension (none, kotlin 1.3): none
Code related feature
Currently, Atrium prints "expected ... to equal ...", however, it is hard to tell what was not matching.
It would be nice if there were automatic hints that could summarize the nature of the difference.
For instance,
PS. This request is related to "click to show the difference" in IDE, however, this request would help users in CI as well. For instance, you often can't "click to see the difference" in CI logs
See also
The text was updated successfully, but these errors were encountered: