This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-20
Channels
- # announcements (10)
- # architecture (7)
- # babashka (49)
- # beginners (125)
- # calva (2)
- # chlorine-clover (33)
- # clj-kondo (15)
- # cljs-dev (18)
- # cljsrn (28)
- # clojure (91)
- # clojure-argentina (37)
- # clojure-austin (4)
- # clojure-dusseldorf (1)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-germany (2)
- # clojure-nl (4)
- # clojure-portugal (4)
- # clojure-spec (26)
- # clojure-uk (19)
- # clojuredesign-podcast (5)
- # clojurescript (19)
- # conjure (20)
- # core-async (4)
- # cursive (60)
- # data-science (4)
- # datomic (1)
- # duct (9)
- # emacs (11)
- # events (1)
- # fulcro (9)
- # graalvm (17)
- # jobs-discuss (7)
- # luminus (19)
- # malli (36)
- # meander (2)
- # off-topic (23)
- # pathom (2)
- # quil (1)
- # rdf (4)
- # re-frame (16)
- # reitit (10)
- # ring (21)
- # ring-swagger (1)
- # shadow-cljs (137)
- # spacemacs (10)
- # sql (27)
Hello! Anyone got a handy way/tool/lib for getting junit reports from running tests with figwheel-main for clojurescript? Test-runner is running in the browser/cljs context, so having a hard time extracting reports for writing my own reporter, and probably this problem been solved before as well, but can't find any previous examples
@victorbjelkholm429 I think this is kaocha's sweet spot :)
oh, I see, thanks @dominicm, I was looking at kaocha but arrived at the conclusion I didn't want to integrate a "full featured next-gen test runner" just in order to get reports in a different format, but if it's the simplest solution, it's the simplest solution 🙂 Thanks!
an example: https://github.com/dazld/cljs-protocol-inference-warning/blob/master/src/app/core.cljs#L10-L11
which produces the following warnings:
WARNING: Cannot infer target type in expression (. this -app$core$IFoo$bar$arity$1) at line 6 /Users/danpeddle/projects/cljs-protocol-inference-warning/src/app/core.cljs
WARNING: Cannot infer target type in expression (. this app$core$IFoo$bar$arity$1 this) at line 6 /Users/danpeddle/projects/cljs-protocol-inference-warning/src/app/core.cljs
...
Currently not, there was Jira ticket for that
found it, empty defrecords pass the test, but as soon as a protocol is declared or a record implements something, it starts to warn
https://github.com/clojure/clojurescript/commit/1c4eefac5050c8480137d69d3d5b65fd53478cb2