This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-15
Channels
- # announcements (5)
- # architecture (17)
- # aws (2)
- # bangalore-clj (1)
- # beginners (157)
- # boot (22)
- # boot-dev (2)
- # cider (64)
- # clara (2)
- # cljs-dev (3)
- # clojure (30)
- # clojure-art (2)
- # clojure-australia (1)
- # clojure-belgium (1)
- # clojure-denver (1)
- # clojure-dusseldorf (1)
- # clojure-europe (8)
- # clojure-finland (2)
- # clojure-italy (9)
- # clojure-nl (21)
- # clojure-spec (261)
- # clojure-switzerland (3)
- # clojure-uk (67)
- # clojurescript (57)
- # clojurewerkz (2)
- # cursive (3)
- # datomic (27)
- # emacs (12)
- # figwheel-main (2)
- # fulcro (48)
- # garden (67)
- # graphql (41)
- # jobs (8)
- # kaocha (8)
- # liberator (2)
- # lumo (1)
- # off-topic (19)
- # parinfer (9)
- # perun (4)
- # re-frame (50)
- # reagent (7)
- # remote-jobs (4)
- # ring-swagger (20)
- # rum (6)
- # shadow-cljs (170)
- # specter (3)
- # tools-deps (19)
- # vim (3)
A new release is out with the new ^:kaocha/pending
feature, and with a new "hooks" plugin. This provides a more lightweight alternative to writing full plugins, you simply point at a function that should be used as a hook.
so this thing ^^^ is now implemented, you just need to enable the :kaocha.plugin/hooks
plugin. Do note that as with hooks inside plugins, these functions need to return their first argument (possibly updated), so if e.g. you want to run (st/instrument)
you have to write a wrapper function that calls instrument
and then returns its argument.
Hi! Thanks for Kaocha, it’s very friendly and finally our Travis CI logs make sense 🙂
I was looking at Kaocha-cljs, but I’d like to integrate it with shadow-cljs somehow, to run node unit tests. Currently shadow has its own test runner, which looks like this: https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/test/node.cljs
The main difference is that shadow runs the tests always in a CLJS mode, so things like pretty-printing diffs etc have to be CLJS compatible… which I’m not sure Kaocha handles? It looks like it reports the test results via a websocket somehow?