Fork me on GitHub
#polylith
<
2024-02-10
>
Nik12:02:06

Goal - Tests running in watch mode Some initial research led me to koacha and I updated my root deps.edn -

:test {:extra-paths ["components/parser/test"
                                 "components/mutual-fund/test"
                                 "components/file-reader/test"
                                 "components/payee/test"
                                 "components/util/test"
                                 "components/hledger/test"]
                   :extra-deps {lambdaisland/kaocha {:mvn/version "1.77.1236"}}
                   :exec-fn     kaocha.runner/exec-fn
                   :exec-args   {:skip-meta :slow}}

:watch {:exec-args   {:watch?     true
                      :skip-meta  :slow
                      :fail-fast? true}}
But I get error WARNING: In :test-paths, no such file or directory: test WARNING: No tests were found. This may be an issue in your Kaocha test configuration. To investigate, check the :test-paths and :ns-patterns keys in tests.edn. Can someone please point me to repo or edn file that will help with my goal or error?

tengstrand13:02:08

@U08BJGV6E Is the expert on this.