This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-01
Channels
- # announcements (4)
- # aws (1)
- # beginners (60)
- # calva (10)
- # cider (21)
- # clj-kondo (38)
- # cljdoc (1)
- # clojure (59)
- # clojure-austin (1)
- # clojure-conj (1)
- # clojure-europe (19)
- # clojure-italy (9)
- # clojure-nl (29)
- # clojure-spec (6)
- # clojure-uk (85)
- # clojurescript (54)
- # community-development (11)
- # core-async (2)
- # cursive (21)
- # data-science (4)
- # datomic (39)
- # events (2)
- # fulcro (48)
- # funcool (1)
- # graalvm (5)
- # jackdaw (9)
- # kaocha (17)
- # luminus (2)
- # off-topic (10)
- # parinfer (22)
- # quil (1)
- # re-frame (4)
- # reagent (29)
- # shadow-cljs (7)
- # sql (9)
- # tools-deps (31)
- # yada (1)
{lambdaisland/kaocha {:mvn/version "0.0-549"}}
is out, the main thing is support for Aero's #profile {}
reader tag, making it easier to have variant configurations, especially for CI.
I think there’s a bug in the WARNING code e.g.
$ ./bin/kaocha --focus mut.ui.nav-test
WARNING: :focus [:mut.ui.nav-test] did not match any tests.
--- all (clojure.test) ---------------------------
mut.ui.nav-test
nav-bar-integration-test
All projects have a working home page
Visiting datasets catalog index page
Datasets selected in top-level navbar
Correct tab is selected
,,,
i.e. I see the warning but it finds the test
releasing the new version now. I did this a little quick quick on the plane and apparently missed a colon and didn't test this properly...
Apparently the vim-iced author created an nREPL middleware for Kaocha. Maybe interesting for you @magnars?
Hmm, I never even thought about that. What is the advantage to this approach? Right now I'm just sending (kaocha.repl/run ...)
or (kaocha.repl/run-all ...)
via cider-nrepl-request:eval
. Seems pretty straight forward to me. 🙂
Seems he keeps some state on the Clojure side, probably to support "re-run failed tests" or something like that. I guess I'm general it gives you better access to the test results data structure so you can do things like jump to failed test definition
I'm surprised though you both used kaocha.repl instead of kaocha.api. the repl namespace is optimized for human consumption, not machine consumption