This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-28
Channels
- # announcements (14)
- # autochrome-github (1)
- # babashka (4)
- # beginners (151)
- # biff (1)
- # calva (24)
- # cider (13)
- # clara (13)
- # clj-commons (1)
- # cljs-dev (24)
- # clojure (50)
- # clojure-europe (20)
- # clojure-france (13)
- # clojure-nl (4)
- # clojure-norway (12)
- # clojure-spec (43)
- # clojure-uk (6)
- # clojurescript (30)
- # cursive (2)
- # datahike (9)
- # editors (6)
- # emacs (2)
- # fulcro (29)
- # google-cloud (20)
- # graphql (2)
- # humbleui (2)
- # jobs (2)
- # juxt (4)
- # kaocha (5)
- # lsp (14)
- # malli (5)
- # membrane (10)
- # off-topic (39)
- # pathom (21)
- # polylith (10)
- # rdf (8)
- # reagent (4)
- # remote-jobs (3)
- # reveal (18)
- # shadow-cljs (27)
- # spacemacs (7)
- # tools-deps (30)
Hi there, still debugging this cause I still have issues...basically what I observe is that the post-run
hook is executed before (use-fixture :each)
- Does this match the implementation?
This for me is problematic cause I stop the system in an :each
but shut down the test container in the post-run
- I assumed post-run
wraps the whole test execution
By reading the code I think I can confirm this...
post-run
is run right after the fixture's (f)
call and therefore before the fixture's cleanup in my case...
My issue is that the cleanup (system) is customized by test and I need a way to do it for each test
Should I use :kaocha.hooks/main
instead for starting a test container before any test is run?
and for shutting it down after it
Would there be a way for kaocha to be in charge of :each
and :once
fixtures? Cause that would probably solve these issues...it seems like the hooks do not play well with them