This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-18
Channels
- # announcements (17)
- # babashka (42)
- # beginners (34)
- # calva (78)
- # cherry (1)
- # cider (7)
- # clojure (64)
- # clojure-europe (19)
- # clojure-nl (2)
- # clojure-norway (54)
- # clojure-uk (3)
- # clojurescript (21)
- # cloverage (1)
- # conjure (1)
- # core-async (11)
- # cryogen (16)
- # cursive (1)
- # data-oriented-programming (1)
- # datahike (5)
- # fulcro (2)
- # girouette (1)
- # helix (10)
- # hyperfiddle (1)
- # jobs (1)
- # kaocha (4)
- # nbb (7)
- # off-topic (6)
- # pathom (4)
- # polylith (21)
- # rdf (9)
- # releases (2)
- # shadow-cljs (3)
- # sql (12)
- # squint (68)
- # vim (33)
- # xtdb (29)
Hi everyone. I have reached out to a few people and asking if they would like to be added to the https://polylith.gitbook.io/polylith/conclusion/production-systems page. If you haven’t been contacted, but want to be added, please follow the instructions on that page!
@imre What's the difference between using kaocha, and polylith-kaocha? Just that there's no need to duplicate the paths to kaocha config?
polylith-kaocha acts as a bridge between poly and kaocha. Out of the box poly does its own test discovery and test running. With p-k you delegelate these to kaocha. In other words, if you want poly test to run your tests via kaocha, then p-k is an off-the-shelf solution
Then again, I think I want to have the watch mode anyway, and that's not possible via poly, I think
Yes that was the whole point. I wanted poly's project/brick filtering combined with kaocha's plugins
But to get watch mode, I guess I have to run kaocha directly, and that means duplicating all the source and test paths?
Most likely. You might be able to get those paths from the poly tool though and script the thing
I think I'll go with the simplest way to get watch mode at this point. Our tests are not yet so slow that the overhead would matter
And we fortunately don't have many components for the same interface yet, so we can delay the project specific configuration
@U8ZQ1J1RR How did you go about getting watch mode working? Looking into enabling kaocha
, and this is my favourite feature when I used it previously.
Both watch
and fail-fast
Aside from the colourful output, I'm not even sure why you would want kaocha as a test runner without the two killer features mentioned.
I've just added a tests.edn
at the root and have added test plans there. Using the root`deps.edn` aliases for the construction of the classpath and test directories as per normal.