This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-04
Channels
- # aleph (8)
- # aws (14)
- # babashka (37)
- # beginners (30)
- # calva (5)
- # cider (4)
- # clj-kondo (21)
- # cljsrn (4)
- # clojure (234)
- # clojure-denmark (1)
- # clojure-europe (10)
- # clojure-france (10)
- # clojure-italy (4)
- # clojure-nl (17)
- # clojure-sanfrancisco (1)
- # clojure-spec (8)
- # clojure-uk (44)
- # clojurescript (20)
- # cursive (9)
- # datascript (2)
- # datomic (5)
- # emacs (9)
- # fulcro (50)
- # graalvm (32)
- # jackdaw (18)
- # leiningen (1)
- # malli (10)
- # meander (10)
- # nrepl (10)
- # off-topic (15)
- # pathom (20)
- # re-frame (14)
- # reagent (37)
- # reitit (7)
- # ring (1)
- # shadow-cljs (102)
- # test-check (6)
- # tree-sitter (15)
- # vim (4)
- # xtdb (2)
- # yada (1)
Is there a way to get cursive to mark a source directory of a deps.edn project as a test sources route without using the test alias? in this case, the entire project is a test
Yes, you can just mark them as test roots in the IDE and then Cursive will leave them that way.
I don’t mean to be picky 🙂 I’m thinking of setup for new engineers. The number of projects is very large
Any :extra-paths
in the :test
alias will be marked as test roots, otherwise it’ll have to be by hand. You can add something into :extra-paths
under :test
even if it also appears under :paths
, I’m pretty sure.
The deps tool window only shows a test (system)
even if i have a test
alias in my project's deps.edn
.
Is that an expected behaviour?
Also the :extra-paths
within the :test
alias in my ~/.clojure/deps.edn
seems to be ignored, when I have a :test
alias in my project's deps.edn
. (I Cmd-F for the extra path in the classpath printed in the REPL)