Fork me on GitHub
#kaocha
<
2019-11-17
>
practicalli-john00:11:31

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-john01:11:08

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.

plexus08:11:53

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

👍 4
practicalli-john15:11:22

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.