-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Have test runner show diff between "actual" and "expected" #1007
Comments
Looks like they use |
There is also this btw: https://github.com/lambdaisland/deep-diff2. I like the rendering of the diffs from Ultra better than those from Kaocha, but maybe the diff engine is easier to integrate? |
Here is cider-nrepl implementation of test output diffing: https://github.com/clojure-emacs/cider-nrepl/blob/a53ab41c7ae56fda9f4a7b5916c5bd1f8fa60d95/src/cider/nrepl/middleware/test/extensions.clj#L22-L23. |
So is that the |
It would be awesome if the test runner would (in the Calva output) not just show what was the expected and actual output, but also what's the difference between the two. We've been using the "ultra" leiningen plugin in the terminal for this, which shows it super-super-nicely (see https://github.com/venantius/ultra/wiki/Tests). I don't know if they use some library that can be reused by Calva...?
The text was updated successfully, but these errors were encountered: