Fork me on GitHub
#deps-new
<
2022-03-11
>
Norman Kabir16:03:14

I'm running into an issue running tests under "test/clj" for a project with namespace me.rkx/labclj I used the default settings for clj-new

clojure -X:project/new :template app :name "me.rkx/labclj"
The only change I made was moving source and test files under src/clj and test/clj and updating deps.edn
Syntax error (FileNotFoundException) compiling at (me/rkx/labclj_test.clj:1:1).
{:paths ["src/clj" "resources"]
 :aliases
 {:run-m {:main-opts ["-m" "me.rkx.labclj"]}
  :run-x {:ns-default me.rkx.labclj
          :exec-fn greet
          :exec-args {:name "Clojure"}}
  :build {:deps {io.github.seancorfield/build-clj
                 {:git/tag "v0.6.3" :git/sha "9b8e09b"
                  ;; since we're building an app uberjar, we do not
                  ;; need deps-deploy for  deployment:
                  :deps/root "slim"}}
          :ns-default build}
  :test {:extra-paths ["test/clj"]
         :extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
                      io.github.cognitect-labs/test-runner
                      {:git/tag "v0.5.0" :git/sha "48c3c67"}}}}}

Norman Kabir16:03:33

My mistake. I had a typo. Apologies. Thanks for a great tool!