Skip to content

Can't find kaocha.runner ? fails to run tests #468

Description

@alirezaalavi87

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions