kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
dharrigan 2020-03-06T15:45:58.034300Z

I'm experimenting with using <https://github.com/clojure-expectations/clojure-test> and as expected it works 🙂

dharrigan 2020-03-06T15:46:28.035Z

However, if I use plain old (is (= true true) type of test, then I get nice colourful output.

dharrigan 2020-03-06T15:46:39.035300Z

with expectations, it's not ansified

dharrigan 2020-03-06T15:46:50.035500Z

Can I get colours?

dharrigan 2020-03-06T15:52:10.035800Z

i.e., defexpect vs deftest

dharrigan 2020-03-06T15:52:16.035900Z

dharrigan 2020-03-06T15:52:49.036400Z

The first one is defexpect, the second is deftest.

dominicm 2020-03-06T17:34:57.038400Z

Just started looking into why our tests sometimes hang. Turns out lein didn't manage exceptions in fixtures. Kaocha correctly exits in that case. We'll be moving CI over to kaocha asap me thinks. I miss tdeps generally.

dominicm 2020-03-06T17:36:15.039700Z

@dharrigan you'll need to extend kaocha to do that I think. You might want to see kaocha.report where this happens for =. Not an expert on this.

dharrigan 2020-03-06T17:36:47.040Z

I thought I might have to do that, yes.

dharrigan 2020-03-06T17:36:56.040300Z

I was hoping it was a configuration, or something I missed.