# kotest

Rob Elliot

11/29/2021, 10:25 AM
Do you see any opportunities to speed up running tests via the plugin? I just profiled running a single test in a spec via the green arrow, and it’s taking 5.5 seconds before actually starting the test, mostly in classgraph scanning, which seems unnecessary as the class and test name are being sent to it as
args to
in the first place.
This is with 4.6.3, so may be completely irrelevant as it looked like you did quite a rewrite for 5.0.0.
I see what causes it -
does a classgraph scan unless you explicitly disable it with two system properties.
🆒 1


11/29/2021, 11:26 AM
I had a wip to discover configs via service loaders
I had to shelve it because stuff, but I hope to pick it up soon now that 5.0 is released
That'd only work on JVM, but I think class graph also works on JVM only so