This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-05
Channels
- # announcements (14)
- # aws (7)
- # babashka (28)
- # beginners (16)
- # calva (2)
- # cider (1)
- # clj-commons (8)
- # clj-kondo (29)
- # clojure (213)
- # clojure-europe (39)
- # clojure-losangeles (2)
- # clojure-norway (9)
- # clojure-spec (2)
- # clojurescript (11)
- # community-development (1)
- # conjure (2)
- # cursive (6)
- # datalevin (2)
- # datomic (8)
- # emacs (29)
- # events (1)
- # fulcro (22)
- # graalvm (14)
- # improve-getting-started (1)
- # jobs (1)
- # lambdaisland (5)
- # leiningen (4)
- # lsp (7)
- # malli (13)
- # meander (11)
- # membrane (13)
- # off-topic (23)
- # polylith (9)
- # re-frame (4)
- # reagent (7)
- # reitit (6)
- # releases (2)
- # sql (58)
- # testing (8)
- # tools-deps (18)
- # web-security (2)
Is there a test runner or library that includes the duration of each test and/or subform as part of the results summary?
Not a substitute for proper benchmarking, I know, but could still be directionally useful for answering the “which test is slowing down my feedback loop” question quickly
@UHJH8MG6S we had something like this, didn't we? I don't remember if it was proprietary code
probably it was a very simple :each
fixture which I would painstakingly remember to add to every ns.
Not fancy, but it will work in every test runner - I like clojure.test as an interoperable standard :)
We have switched most internal projects to kaocha with junit reporting. Which does include this info i think. Our CI can then determine slowest tests and suites over time 😁
kaocha does this, yeah
It may bit be that hard to make one, I can try to hack something later if you want :)