hi, it seems that default testrunner is currently broken. is this a known issue?
12:12 $ clj -X:test:runner
No function found on command line or in :exec-fn
^^ freshly generated "app" project
with this as my :new alias in `/.clojure/deps.edn :
35 │ :new {:extra-deps {seancorfield/clj-new {:mvn/version "1.1.297"}}
36 │ :exec-fn clj-new/create
37 │ :exec-args {:template "app"}}
Hmm, not a known issue. Let me just repro…
The readme in a generated app project says to use clojure -M:test:runner
(and that does work)
Ah, I see the confusion. Apologies. The clj-new README has been updated to reflect the next version but that hasn’t been released yet.
@johanatan OK, I’ve released clj-new 1.1.309 so that will work now:
(! 520)-> clojure -X:new :template app :name johanatan/example
Downloading: com/github/seancorfield/clj-new/1.1.309/clj-new-1.1.309.pom from clojars
Downloading: com/github/seancorfield/clj-new/1.1.309/clj-new-1.1.309.jar from clojars
Generating a project called example based on the 'app' template.
(! 521)-> cd example/
(! 522)-> clojure -X:test:runner
Running tests in #{"test"}
Testing johanatan.example-test
FAIL in (a-test) (example_test.clj:7)
FIXME, I fail.
expected: (= 0 1)
actual: (not (= 0 1))
Ran 1 tests containing 1 assertions.
1 failures, 0 errors.