Hi folks, I have a project that is using kaoch. I am trying to run a single test-var with kaoch.repl/run. Instead of running a single test, it runs all of the tests in my project. So this for example,
(k/run 'clojure-skills.cli-db-test/test-example) This is my project, https://github.com/iwillig/clojure-skills
And this is my test config, https://github.com/iwillig/clojure-skills/blob/main/tests.edn
When I removed my tests.edn configuration running a single test seems to work.
can try passing in an empty map as the second arg to run perhaps?
this is what I use in my editor:
(do
(require 'clojure.spec.alpha 'expound.alpha 'kaocha.repl '~file-namespace)
(binding [clojure.spec.alpha/*explain-out* expound.alpha/printer]
(kaocha.repl/run '~current-var {:kaocha/reporter ['kaocha.report/documentation] :kaocha.plugin.capture-output/capture-output? false})))(editor injects test symbol into ~current-var )
Runs everything. Has anyone run into this before?