Fork me on GitHub

I’m running the latest snapshot from ELPA (cider-20220121.1047), and running all tests (`cider-test-run-project-tests`) doesn’t seem to work. I have ensured that the test namespace is loaded and can run tests with cider-test-run-ns-tests just fine. But when I use cider-test-run-project-tests, I get “No assertions (or no tests) were run.” Is it a bug, or am I doing something boneheaded? I recently switched from Leiningen to using tools deps and I’m questioning everything. 🙂 This is also running on Emacs 28.0.91 pretest build from, if that might matter. Just fiddling around some more and cider-test-run-loaded-tests also fails with the same error.


Thanks for the report! Could you open it as a github issue?


as some quick debugging you can do: • type (all-ns) in a JVM repl • search for a ns named approximately orchard.query (the real name will be munged) • Invoke its namespaces function like this: (namespaces {:project? true :has-tests? true}). If it returns nothing, that's the problem :)


(cider.nrepl.inlined-deps.orchard.v0v9v1.orchard.query/namespaces {:project? true :has-tests? true}) => ()

👀 1

@U45T93RA6 Looks like that’s the issue. I’m happy to open a github issue. How do you want me to describe it for best capture of the root cause (which I don’t quite understand)?


Yes an issue against would be very appreciated If you can play a bit with that defn (and also cider.nrepl.inlined-deps.orchard.v0v9v1.orchard.namespace functions) and see which things do work, that would accelerate things. This is the namespace try passing it different arguments per its docstring. These two functions also seem relevant


(probably without you diving a bit as suggested I won't be able to do much - this is the sort of stuff that is practically impossible to debug without a repl 😇)


Another relevant one If it also returns empty, try removing in-project? and see if it makes a difference


@U45T93RA6 Apologies, got caught up with other things yesterday. I’ll try this later today and open an issue against Orchard with the results.

🍻 1