Fork me on GitHub
#cider
<
2022-08-28
>
ossoso13:08:46

I wanted to tap> test names to match them with other tapped data. When running the tests with CIDER I had to replace the method in the snippet: clojure.test/report to cider.nrepl.middleware.test/report .

ossoso13:08:02

(defmethod cider.nrepl.middleware.test/report :begin-test-var [m]
  (swap! cider.nrepl.middleware.test/current-report update-in [:summary :var] inc) ; from the source method
  (tap> (-> m :var meta :name)))