lazytest

2025-08-16T16:31:11.191489Z

Are there thoughts/plans to support code coverage reporting? For example in the past I've used Kaocha which provides easy coverage integration using a cloverage plugin.

2025-08-16T17:00:15.223219Z

i don't know or use coverage tools so i'm not familiar with how they work. at some point i'd like to add a plugin or hook system, akin to what kaocha has, but right now all we have are reporters. i bet you could hook up a reporter to support that

2025-08-16T17:14:30.176449Z

I am not sure if reporters would be enough, because the integration needs to instrument namespaces before tests run. I might give it a try and see, perhaps try to claude something up 🙂

2025-08-16T17:46:33.238659Z

might be helpful to remember that lazytest requires all namespaces in the test directory (or provided directories) so if you have a side affecting call in a namespace in a test file, it'll run before anything else runs

2025-08-17T09:02:57.118139Z

I created a proof-of-concept and opened an issue for discussion: https://github.com/NoahTheDuke/lazytest/issues/25

2025-08-17T11:39:16.074739Z

thank you! i'll take a look