lambdaisland / kaocha

Full featured next gen Clojure test runner
https://cljdoc.org/d/lambdaisland/kaocha/1.0.861/doc/1-introduction
Eclipse Public License 1.0
792 stars 81 forks source link

Configure binstub? #410

Closed imrekoszo closed 1 year ago

imrekoszo commented 1 year ago

The standard binstub for Kaocha is a wrapper script at bin/kaocha.

Some teams/projects might prefer other methods of issuing all sorts of dev-related commands in the project, including running tests such as:

Since kaocha prints suggested commands using the binstub (such as in case of a failing test bin/kaocha --focus failing.test) it would be convenient to be able to configure what binstub should be used. Ideally this would be configured the same way everything else is so no matter how a test run is invoked it could be provided via tests.edn or other means.

plexus commented 1 year ago

The bin/kaocha invocation is part of the kaocha UI, it provides a well known location for invoking kaocha regardless of the specifics of the project. A project that uses kaocha but does not have a bin/kaocha is not compliant. You can have additional ways in which to run kaocha if you so choose, but there should always be a bin/kaocha. If you don't you're on your own.

imrekoszo commented 1 year ago

Thanks for the clear reasoning!

imrekoszo commented 1 year ago

@humorless I'm wondering if this issue would be better placed in the "Won't fix" column?