kaocha

pesterhazy 2022-12-03T16:27:53.985659Z

A few months ago I mentioned that it's sometimes desirable to break out of kaocha's captured output even for successful tests (I even sometimes failed tests on purpose to see output) Here's a slightly less painful way of doing it

(defn kprn [& args] (binding [*out* ( (java.io.PrintStream. (jav
a.io.FileOutputStream. java.io.FileDescriptor/out)))] (apply prn args)))

🎉 1