Closed imrekoszo closed 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.
Thanks for the clear reasoning!
@humorless I'm wondering if this issue would be better placed in the "Won't fix" column?
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:
bb test
orbb kaocha
make test
just test
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.