This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-12
Channels
- # announcements (2)
- # babashka (26)
- # beginners (48)
- # calva (32)
- # cider (23)
- # clj-kondo (61)
- # cljfx (3)
- # clojure (93)
- # clojure-australia (2)
- # clojure-europe (23)
- # clojure-losangeles (1)
- # clojure-nl (5)
- # clojure-uk (4)
- # clojurescript (46)
- # cloverage (9)
- # code-reviews (1)
- # copenhagen-clojurians (1)
- # cursive (39)
- # data-science (6)
- # datahike (8)
- # deps-new (8)
- # depstar (2)
- # etaoin (1)
- # fulcro (2)
- # funcool (2)
- # graalvm (5)
- # jackdaw (3)
- # java (17)
- # jobs-discuss (43)
- # kaocha (2)
- # leiningen (25)
- # malli (8)
- # minecraft (1)
- # missionary (8)
- # observability (6)
- # off-topic (37)
- # other-languages (12)
- # practicalli (1)
- # reagent (4)
- # releases (78)
- # remote-jobs (1)
- # sci (9)
- # shadow-cljs (13)
- # spacemacs (6)
- # sql (1)
- # tools-deps (30)
- # xtdb (3)
I enjoy using https://github.com/lambdaisland/kaocha as a test runner for Clojure. I saw https://github.com/magnars/kaocha-runner.el package that runs Kaocha test runner from within Emacs. Would this be of interest to add to the Spacemacs Clojure layer? I am thinking of proposing adding it as an optional feature, turned on by a Clojure layer variable. Does this sound useful? Thanks.
After getting things wrong a lot last night, I figured out how to add it correctly (well working) this morning. I'll raise an issue on Spacemacs and then submit a PR (hopefully by the end of today)
Some of the benefits of using Kaocha seem to be • using fail-fast tests, so you dont have to wait for a full test run to end • a bit faster to run than cider-test, especially after the initial run (I assume its only running tests that have changed) I'll try out some of the other kaocha features and see if they are applicable.
I've raises a feature request issue on Spacemace repository, with the rough example code to add kaocha-runner as an optional feature. It has key bindings that seem to be sensible to me, feel free to comment https://github.com/syl20bnr/spacemacs/issues/15267
I've raises a pull request to add kaocha-runner package to the Clojure layer https://github.com/syl20bnr/spacemacs/pull/15268