lambdaisland / lambdaisland/kaocha
Can't find kaocha.runner ? fails to run tests
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 860
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
clj --version: 1.12.4.1618
I'm using clj-kit which uses kaocha.
Here is the deps.edn alias for test
:test {:extra-deps {integrant/repl {:mvn/version "0.5.1"}
lambdaisland/kaocha {:mvn/version "1.91.1392"}
ring/ring-devel {:mvn/version "1.15.5"}
ring/ring-mock {:mvn/version "0.6.2"}
io.github.kit-clj/kit-generator {:mvn/version "0.2.9"}
peridot/peridot {:mvn/version "0.5.4"}
org.clj-commons/byte-streams {:mvn/version "0.3.4"}}
:extra-paths ["env/dev/clj" "env/dev/resources" "env/test/resources" "test/clj"]
:main-opts ["-m" "kaocha.runner"]
:exec-fn kaocha.runner/exec-fn}
I get these errors when running clj -M:test
Syntax error (ClassNotFoundException) compiling at (kaocha/runner.clj:2:1).
kaocha.runner
Full report at:
/tmp/clojure-1313313808761410206.edn
It worked fine before. I don't know what exactly is causing this error.
I also tried removing the package from .m2 and reinstalling but no still the same error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing clj -M:test with the provided deps.edn test alias and inspect the full report at /tmp/clojure-1313313808761410206.edn. Read kaocha/runner.clj around the reported line and investigate why kaocha.runner is not available from the declared Kaocha dependency. Done means the test alias runs without the ClassNotFoundException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 50/100