-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I went to add a test runner task to a babashka project with a bb.edn file that looks like:
{:paths ["src"]
:deps {io.github.matthewdowney/rich-comment-tests {:git/tag "v1.0.0" :git/sha "73b0863"}}
:tasks {test {:requires ([com.mjdowney.rich-comment-tests.test-runner :as rct])
:task (rct/run-tests-in-file-tree! {:dirs #{"src"}})}}}
And the test-runner
namespace threw:
$ bb test
Running rich-comment-tests in #{src}
com.mjdowney.tfmt
----- Error --------------------------------------------------------------------
Type: java.lang.IllegalArgumentException
Message: No implementation of method: :getName of protocol: #'sci.impl.types/HasName found for class: clojure.lang.Symbol
Location: /home/matthew/rich-comment-tests/src/com/mjdowney/rich_comment_tests/test_runner.clj:72:11
----- Context ------------------------------------------------------------------
68: ; Run tests for the namespace by calling `run-file-tests!` with each
69: ; associated file
70: (doseq [[ns files] ns->fs]
71: (println ns)
72: (test/do-report {:type :begin-test-ns :ns ns})
^--- No implementation of method: :getName of protocol: #'sci.impl.types/HasName found for class: clojure.lang.Symbol
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working