kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2020-04-22T06:35:31.155100Z

@rgm I think you need lambdaisland.deep-diff.printer/register-print-handler!

plexus 2020-04-22T06:36:17.155500Z

have a look at kaocha.master-combinators for an example

plexus 2020-04-22T06:40:26.156800Z

actually, no. scratch that. The issue here is that these assertions are serialized to transit, and then reported on the kaocha/clj side. See kaocha.cljs.websocket-client. We don't currently have a mechanism for registering new handlers there.

plexus 2020-04-22T06:45:19.158700Z

although, not sure of that either. We have some stuff in place to generate these messages on the cljs side and send them over the wire, where it's using cljs.print and pjstadig.print, but since you're seeing diff-style output it's seems that's actually not getting picked up. We only diff on the clj side, deep-diff wasn't available yet for cljs when kaocha-cljs was written

plexus 2020-04-22T06:47:59.159100Z

which reporter(s) are you using? the kaocha built-in ones or something else?

rgm 2020-04-22T13:52:30.159400Z

Hi Arne … yeah, just the built-in one.

rgm 2020-04-22T13:55:45.161800Z

Thinking about it with a clear head having slept, maybe the pragmatic solution here is to make use of the msg in (clojure.test/is form msg)