You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the impression that test runners are expected to bind clojure.test/*report-counters* during test execution. It looks like it should be initialized to clojure.test/*initial-report-counters*.
cider.nrepl.middleware.test doesn't appear to have this logic.
Why this is a problem
I found at least one instance where inc-report-counter is invoked:
Any thoughts on this? This is exactly an issue that I have on some projects.
I have some tests macros that juggle around report-counters and expects it to be valid, and when running tests with cider they don't work.
Brief
I have the impression that test runners are expected to bind
clojure.test/*report-counters*
during test execution. It looks like it should be initialized toclojure.test/*initial-report-counters*
.cider.nrepl.middleware.test
doesn't appear to have this logic.Why this is a problem
inc-report-counter
is invoked:cider-nrepl/src/cider/nrepl/middleware/test.clj
Line 212 in ac0625f
clojure.test/*report-counters*
deftest
-like macro that ensured that*report-counters*
was incremented after execution of that deftest.cider-nrepl version
This repo @
master
The text was updated successfully, but these errors were encountered: