This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-04
Channels
- # announcements (1)
- # babashka (41)
- # beginners (124)
- # cider (8)
- # clj-kondo (25)
- # cljs-dev (40)
- # clojars (4)
- # clojure (92)
- # clojure-europe (35)
- # clojure-italy (3)
- # clojure-nl (4)
- # clojure-uk (91)
- # clojuredesign-podcast (8)
- # clojurescript (41)
- # code-reviews (1)
- # cursive (11)
- # data-science (1)
- # datascript (76)
- # datomic (45)
- # emacs (4)
- # etaoin (3)
- # events (1)
- # figwheel-main (2)
- # fulcro (9)
- # graalvm (1)
- # jackdaw (6)
- # jobs (1)
- # jobs-discuss (3)
- # kaocha (4)
- # malli (25)
- # off-topic (42)
- # pathom (4)
- # reitit (11)
- # releases (2)
- # reveal (1)
- # shadow-cljs (53)
- # sql (4)
- # tools-deps (190)
- # vrac (19)
- # xtdb (6)
Yes cider-test-run-ns-tests
works after running cider-load-buffer
on project.foo-test
. I would like all my test namespaces loaded in on REPL startup.
There's no such functionality built-in, but you can have some hook that loads all you namespaces when you connect to the REPL server. Just keep in mind that this might trigger some side-effects, which is the main reason CIDER will never auto-loading anything.
@deadghost To require specific namespaces on REPL startup, add a user.clj
file to a project (somewhere on the classpath) and add the require expressions for each namespace.
https://practicalli.github.io/clojure/clojure-tools/configure-repl-startup.html#requiring-namespaces
The require expressions can be part of the user ns expression or as their own require expression.