This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-04
Channels
- # announcements (19)
- # babashka (11)
- # babashka-sci-dev (9)
- # beginners (71)
- # calva (25)
- # cider (1)
- # clara (36)
- # clj-kondo (47)
- # clojure (65)
- # clojure-dev (64)
- # clojure-europe (9)
- # clojure-nl (2)
- # clojure-seattle (1)
- # clojure-uk (2)
- # clojured (8)
- # clojurescript (17)
- # cursive (9)
- # data-science (36)
- # datahike (11)
- # emacs (10)
- # figwheel-main (19)
- # fulcro (15)
- # graalvm (12)
- # humbleui (5)
- # introduce-yourself (3)
- # jobs (10)
- # leiningen (4)
- # lsp (24)
- # malli (7)
- # nextjournal (23)
- # off-topic (1)
- # pedestal (2)
- # polylith (6)
- # portal (1)
- # re-frame (3)
- # reitit (2)
- # releases (2)
- # remote-jobs (1)
- # reveal (9)
- # shadow-cljs (13)
- # spacemacs (6)
- # xtdb (3)
If you don't read #announcements — https://clojurians.slack.com/archives/C06MAR553/p1646386535272909
I don't get the test contextual action when I evaluate a deftest and press [Enter] on the result in the Output Panel. I am using latest reveal (1.3.273). The test runs fine if I use Cursive's "Run test under caret in REPL". Is there anything else I need to do or can you point me where to investigate? (Great tool, I love it, thanks 👍)
You can see the code that checks test action availability: https://github.com/vlaaad/reveal/blob/master/src/vlaaad/reveal/test.clj#L583
You can try running parts of it on the result of your deftest evaluation and see if it hits
Thanks for the pointer to that code. I'll check that now. I have figured out that the action menu for the namespace does contain test option, and works fine.
OK, I had not loaded vlaaad.reveal.test
anywhere, so the :vlaaad.reveal.action/test
action was not registered in registry.
I must have executed some code that caused vlaaad.reveal.test`` to be loaded by the time I tested the namespace.
If I make sure
vlaaad.reveal.test
is required somewhere in my code, the test contextual action shows for Var and Namespace.
Thanks again for your help. 👍