This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-25
Channels
- # announcements (4)
- # babashka (3)
- # beginners (79)
- # biff (4)
- # calva (17)
- # cider (18)
- # clj-kondo (21)
- # cljdoc (45)
- # cljs-dev (14)
- # cljsrn (9)
- # clojure (90)
- # clojure-europe (86)
- # clojure-italy (3)
- # clojure-nl (3)
- # clojure-portugal (1)
- # clojure-uk (9)
- # clojurescript (20)
- # code-reviews (23)
- # conjure (14)
- # cursive (12)
- # datascript (12)
- # emacs (5)
- # events (2)
- # fulcro (13)
- # gratitude (1)
- # holy-lambda (9)
- # lambdaisland (2)
- # malli (6)
- # nbb (1)
- # nextjournal (2)
- # nrepl (30)
- # off-topic (63)
- # pathom (1)
- # portal (24)
- # reagent (5)
- # reitit (13)
- # releases (2)
- # remote-jobs (1)
- # sci (90)
- # shadow-cljs (59)
- # spacemacs (5)
- # sql (13)
- # testing (20)
- # tools-build (17)
- # xtdb (27)
I put together a https://github.com/djblue/portal/blob/master/doc/guides/test-runner.md for leveraging the new test report viewer.
There isn't an easy way to force something to be expanded currently, so using another viewer as the default would be easier
I have a hot key bound to a variant of tap>
that adds metadata to ask for the tree viewer.
https://github.com/seancorfield/vscode-clover-setup/blob/develop/config.cljs#L10
Also, if these aren't being submitted via the REPL, doing something like:
(update log :mulog/data vary-meta assoc :portal.viewer/default :portal.viewer/tree)
might work :thinking_face:Is there a video somewhere of this workflow? It would help me understand the effort and ROI
@U0510KXTU a video of what part exactly?
Setup to see how/effort required to setup. Then the improvement from seeing logs and test reports in portal vs ide console
It depends on what you use for logging, but here is a guide for https://github.com/djblue/portal/tree/master/examples/timbre. It's particularly nice for the logs in my app since they have a ton of context which does not print well at a terminal 👌
I patch tools.logging
when I start my REPL to send data to Portal -- works really well for me: https://github.com/seancorfield/dot-clojure/blob/develop/dev.clj#L83
loving this timbre workflow. thank you! next step: getting test outputs into portal as well
re the suggestion of a video: even though the instructions are simple and easy, a short video would showing how nice it is would have hooked me earlier. just a thought @U1G869VNV