kaocha

imre 2022-04-29T16:27:58.157049Z

Hey folks, is there anything inherently special about the kaocha-cloverage plugin? I can't seem to be able to get it to run when I invoke kaocha programmatically

imre 2022-04-29T16:28:31.592059Z

Context: https://github.com/imrekoszo/polylith-kaocha

imre 2022-04-29T16:33:18.019379Z

Ah okay I just stumbled upon https://github.com/lambdaisland/kaocha-cloverage/issues/16

plexus 2022-04-29T17:03:21.888219Z

it is a bit special because it reverses control, we hand over control to cloverage which calls back into kaocha. There might be a better way of solving this but somehow would have to do a deep dive to see what our options are.

imre 2022-04-29T17:07:40.271169Z

Thanks

imre 2022-04-29T17:08:36.723609Z

Do you think it would work if I copied roughly what exec-fn does https://github.com/lambdaisland/kaocha/blob/main/src/kaocha/runner.clj#L191 ?

plexus 2022-05-02T07:47:58.691549Z

Nice!