This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-09
Channels
- # announcements (5)
- # beginners (53)
- # clj-kondo (4)
- # cljdoc (3)
- # cljs-dev (11)
- # cljsjs (1)
- # clojure (59)
- # clojure-europe (15)
- # clojure-italy (6)
- # clojure-nl (9)
- # clojure-spec (22)
- # clojure-uk (26)
- # clojurescript (16)
- # clojutre (6)
- # cursive (27)
- # datomic (34)
- # duct (1)
- # figwheel-main (2)
- # fulcro (12)
- # graphql (14)
- # jackdaw (9)
- # jobs (1)
- # kaocha (4)
- # luminus (1)
- # off-topic (11)
- # pathom (1)
- # pedestal (2)
- # re-frame (6)
- # reagent (10)
- # ring-swagger (34)
- # shadow-cljs (47)
- # spacemacs (21)
- # sql (3)
- # tools-deps (37)
- # uncomplicate (11)
- # vim (17)
Is there a way to turn on Orchestra instrumentation before running Kaocha tests? I can see some references to Orchestra, but I think that's related to test.checking functions with in/out specs, rather than turning on instrumentation for tests
Relatedly, is there a way to run some code before executing the tests? We have a spec namespace that we'd like to have required before running the tests, but not to have requires from our test namespaces back to the spec file.
Ah, I see that Orchestra is run: https://github.com/lambdaisland/kaocha/blob/670935d5c7d43f6df8fd237947434218cd6531f2/test/shared/kaocha/test_helper.clj#L13
The issue I'm having might be that the specs aren't registered until after Orchestra has run?