This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-03
Channels
- # announcements (11)
- # atom-editor (8)
- # aws (16)
- # babashka (34)
- # beginners (59)
- # calva (32)
- # cider (8)
- # clj-kondo (43)
- # cljs-dev (52)
- # clojure (26)
- # clojure-europe (11)
- # clojure-italy (2)
- # clojure-nl (5)
- # clojure-spec (16)
- # clojure-uk (44)
- # clojurescript (5)
- # core-async (21)
- # cursive (14)
- # datomic (53)
- # figwheel-main (4)
- # fulcro (5)
- # graphql (6)
- # java (3)
- # kaocha (5)
- # leiningen (6)
- # local-first-clojure (1)
- # malli (25)
- # off-topic (40)
- # other-languages (1)
- # pathom (5)
- # pedestal (3)
- # re-frame (4)
- # reitit (2)
- # reveal (8)
- # rum (21)
- # sci (16)
- # shadow-cljs (90)
- # spacemacs (8)
- # tools-deps (10)
- # vrac (6)
- # xtdb (12)
Hi, how can I specify the alias or aliases in a project using tools.deps when jacking in? One way I have found is using .dir-locals.el
but I can only create one at a time. Thanks in advance for your answers.
Thanks, works like a charm!
@mungaikamau7 a .dir-locals.el
can include multiple aliases with cider-jack-in. https://practicalli.github.io/spacemacs/clojure-projects/project-configuration.html
I use this file to include lots of different aliases I have in my Clojure deps.edn
https://github.com/practicalli/clojure-deps-edn
Not entirely sure if this is a cider q or lein q, when I start my REPL, my src/ namespaces are loaded in but not my test/ namespaces. This can be confirmed with (ns-publics 'project.foo-test) => No namespace: project.foo-test found
. What do I need to configure to get this going?
After running M-x cider-test-run-project-tests
I can then run M-x cider-test-run-ns-tests
on project.foo
and have project.foo-test
tests run.
@deadghost Its a CIDER question (it works the same with Leiningen and Clojure CLI tools). Using the project command will load all test namespaces, using the ns command only loads the current. To be sure, evaluate the buffer containing the tests before running the tests. I am sure someone can explain it better. I just assume I need to evaluate the tests before running them.