kaocha

onetom 2022-05-19T12:39:45.970049Z

https://clojurians.slack.com/archives/CCY2V0U6A/p1618607713056000?thread_ts=1618510748.047900&cid=CCY2V0U6A is this still an issue, that i don't get profiling information, if i just use kaocha.repl/run?

plexus 2022-05-19T12:40:49.086719Z

https://github.com/lambdaisland/kaocha-cloverage/issues/16

👍 1
onetom 2022-05-19T12:46:39.257049Z

i see, i should have searched for kaocha.repl/run, but i only search the issues for profiling. sorry for the noise and thanks for the quick response!

plexus 2022-05-19T12:48:37.941949Z

no worries, this is also on the kaocha-cloverage repo, I guess you were looking at the Kaocha repo? Probably not unfixable, but I don't expect it to be trivial either. Cloverage does some pretty special things, it's gonna take some figuring out how best to do this. Currently not super high on our priority list.

plexus 2022-05-19T12:50:07.671719Z

Cloverage works by implementing its own loading-and-instrumenting logic, so it has to reload all your namespaces anyway.

onetom 2022-05-20T03:40:47.714069Z

yes, that too, i was just searching on the lambdaisland/kaocha repo. we are not using cloverage. tried it on a former project, but it didn't bring enough benefits. or any benefits really.

onetom 2022-05-20T03:45:30.390539Z

but at least it complicated and slowed down the testing feedback loop 😉

imre 2022-05-20T11:52:02.341359Z

I ran into this implementing polylith-kaocha and ended up copying what kaocha's own -X entry point does: https://github.com/imrekoszo/polylith-kaocha/blob/master/components/kaocha-wrapper/src/polylith_kaocha/kaocha_wrapper/runner.clj#L37-L44

imre 2022-05-20T12:10:42.866219Z

so I guess if one doesn't insist on using repl/run, it's doable