Fork me on GitHub
#cursive
<
2023-03-09
>
Jordan Robinson10:03:13

Hello all, I'm vaguely aware there are new repl capabilities in cursive, is there anything I can read to get up to speed on them? Ideally I'd like to have the output of clojure test comparisons output in the repl, (e.g. expected x, got y) is this the kind of thing we can do now?

cfleming21:03:56

Until the new features make it into the doc, the best summary is in the release emails: https://groups.google.com/g/cursive.

cfleming21:03:05

You could create a REPL command which simply runs the clojure.test commands in the REPL, and you would see the output there. There’s no way currently to get that in addition to the graphical test interface.

👍 2
Jordan Robinson08:03:56

thanks Colin, I'll have a look 👍

chromalchemy04:03:47

https://github.com/hyperfiddle/rcf has a repl orientation towards testing. Or you can bind a REPL command to a test runner function, and show the results in a customizable (extra) view from Reveal (same JVM process as Repl), Portal (webview?), or Clerk (browser tab), etc