This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-17
Channels
- # announcements (11)
- # babashka (29)
- # beginners (45)
- # biff (3)
- # cider (5)
- # clj-kondo (55)
- # clojure-austin (2)
- # clojure-europe (6)
- # clojure-norway (24)
- # clojure-uk (1)
- # datalevin (28)
- # fulcro (8)
- # gratitude (1)
- # hyperfiddle (7)
- # keechma (1)
- # membrane (31)
- # other-languages (1)
- # polylith (22)
- # shadow-cljs (12)
Running into a weird issue with a component test namespace and Cursive—“Load file in REPL” has no effect. RESOLVED
I can switch the file’s namespace in the REPL. And I can evaluate forms in the REPL. But I have to eval everything in the namespace manually.
Not sure whether this is a Cursive thing or a Polylith thing, but I pulled up a non-Polylith project to verify and did not have the same problem there.
Going to try spinning up an empty poly project and see whether that provides any insight.
Initially I didn't have "Resolve over whole project" checked, and I got this error when trying to load the test file—
Everything is configured per https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/development#idea-cursive
Glad you found it! I was trying to find the link to the documentation page that explains it. https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/testing?q=Test#from-the-repl it is if anyone else stumbles upon this thread.
Yeah. I was re-reading the long GitHub issue around Polylith support for Cursive and that tipped me off.
But I can still wrap each module up in a component with a shared interface to the rest of the system.