Hello. When writing tests with components/systems, i usually write a function or macro to have a with-open-like behavior with start/stop functions (basically, a try with stop inside the finally)
Is there some utility library that does that?
is there isnt, Im planning to publish those functions/macros as a library.
Im not sure if theres a library as I'm pretty new to component, but there is a with-system macro in the pedestal docs here http://pedestal.io/guides/pedestal-with-component#_testing, so there seems to be a use for such a library