kaocha

richiardiandrea 2022-02-28T18:22:02.753859Z

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

richiardiandrea 2022-02-28T18:35:44.651839Z

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

richiardiandrea 2022-02-28T18:26:40.415799Z

Should I use :kaocha.hooks/main instead for starting a test container before any test is run?

richiardiandrea 2022-02-28T18:26:52.132019Z

and for shutting it down after it

richiardiandrea 2022-02-28T18:47:07.908029Z

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