This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-22
Channels
- # 100-days-of-code (1)
- # beginners (51)
- # carry (1)
- # cider (10)
- # clojure (71)
- # clojure-conj (4)
- # clojure-dev (9)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-russia (8)
- # clojure-uk (16)
- # clojurescript (42)
- # cursive (4)
- # datomic (2)
- # emacs (8)
- # figwheel-main (7)
- # fulcro (20)
- # hyperfiddle (5)
- # jobs (2)
- # off-topic (16)
- # om-next (4)
- # onyx (9)
- # powderkeg (1)
- # re-frame (8)
- # reagent (17)
- # reitit (41)
- # robots (6)
- # rum (1)
- # shadow-cljs (54)
- # testing (3)
- # tools-deps (19)
How does Cider decide which tests to run in cider-test-run-project-tests
? I have loaded all namespaces (both source code and test), and still when I press C-c C-t C-p
I'm getting No assertions (or no tests) were run.
. C-c C-t C-n
runs tests for currently open namespace just fine.
@dottedmag https://github.com/clojure-emacs/orchard/blob/master/src/orchard/query.clj
@dominicm Is it running in context of nrepl
? How could I run it manually and see what it returns?
@dottedmag a version of that namespace exists in your project. It will be provided with cider. Beyond that completion will save you.
> (require '[orchard.query])
FileNotFoundException Could not locate orchard/query__init.class or orchard/query.clj on classpath. clojure.lang.RT.load (RT.java:463)
in REPL@dottedmag it gets inlined to cider.blahblah.v20.orchard.query or something
orchard.namespace/project-namespaces
gives me ()
, because classpath contains relative paths for src
and test
, and project-namespaces
filters entries against project-root
(absolute path).