Knocks 5 seconds off running a simple test for me.
(obviously if you’re actually relying on automatically discovered kotest config this is not such a great tip…)
🙏 1
👍 1
👍🏻 1
l
LeoColman
11/29/2021, 1:06 PM
I think it could work if it's commented by default. Having autoscan disabled by default is not very intuitive
r
Rob Elliot
11/29/2021, 1:28 PM
It was a suggestion for the end user, not a suggestion for changing the plugin
l
LeoColman
11/29/2021, 2:26 PM
Ah, absolutely 😄
t
thanksforallthefish
12/03/2021, 7:56 AM
and actually if you use extension like spring classpath seems to be needed. I did not investigate much, but disabling scanning prevents autowiring and constructor injection from working properly.
that is a good fix for unit tests still