This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-30
Channels
- # babashka (7)
- # beginners (25)
- # calva (22)
- # cljs-dev (1)
- # clojure (62)
- # clojure-europe (118)
- # clojure-hamburg (4)
- # clojure-israel (2)
- # clojure-nl (2)
- # clojure-uk (6)
- # clojured (1)
- # clojurescript (23)
- # conjure (11)
- # cursive (3)
- # datomic (14)
- # duct (2)
- # emacs (12)
- # figwheel-main (1)
- # gratitude (1)
- # hyperfiddle (4)
- # joyride (72)
- # lsp (46)
- # luminus (1)
- # malli (1)
- # off-topic (54)
- # pathom (19)
- # polylith (11)
- # releases (2)
- # sci (22)
- # shadow-cljs (4)
- # vim (11)
- # xtdb (52)
If I use cpr
from within a clj file (shortcut from vim-fireplace) I know the file will re-evaluate and sync the buffer with my running REPL session, I use this all the time. I'm reading in the doc that I should see also running tests? They don't seem to run, so I'm asking what you see. Thanks
From the message, Success: (clojure.test/run-tests 'myprj.myns)
it seems it's searching test vars defined in the same namespace. After some experiments, I can see that it only works with tests defined in the same file as the namespace under testing, which is sub optimal for many reasons.
Will continue using as before, cpr
shortcut to reload namespaces, tests running in separate tmux pane.
Do you mean fireplace? Fugitive is the git wrapper
@U054W022G I don't know if it helps, but i have something like autocmd FileType clojure nnoremap <leader>ra :w \|:Eval (do (require 'user) (in-ns 'user) (refresh-all))<cr> with fireplace, to save current buffer and to invoke refresh