kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
practicalli-john 2019-11-17T00:12:31.024800Z

Is the binstub necessary for deps.edn projects, or simply just a convenience? For my deps.edn projects I defined a :kaocha alias and successfully call the runner using clj -A:kaocha In ~/.clojure/deps.edn I have the following

:kaocha
  {:extra-deps {lambdaisland/kaocha {:mvn/version "0.0-554"}}
   :main-opts  ["-m" "kaocha.runner"]}
The tests run on a few simple projects I have that use the clojure.test unit tests. As this is the first time using kaocha, just wanted to check I wasn't missing something. Thank you.

practicalli-john 2019-11-17T01:01:08.027200Z

Sorry, I dont understand this reply. The .clojure/deps.edn configuration file is being used in all the deps.edn projects I have created so far. I just havent seen the advantage of using a binstub, as recommended in the project readme.md file.

plexus 2019-11-17T08:02:53.028600Z

The binstub is not necessary but it is a convention. See the recent discussion in #tools-deps for some of the rationale.

👍 1
practicalli-john 2019-11-17T15:03:22.030100Z

Ah yes, after reading https://cljdoc.org/d/lambdaisland/kaocha/0.0-554/doc/2-installing I have a clearer idea of what the binstub could be used for. I will also look at the tools-deps discussions. Thanks.