Hm... I just tried to upgrade from Kotest 5.9.1 to...
# kotest
o
Hm... I just tried to upgrade from Kotest 5.9.1 to 6.0.1 and there are quite some changes I really, really dislike. E.g. the
row
function is missing (as I had to remove dataset dependency). And, another really bad design decision:
withData
is now implemented several times on the different specs - not as an extension on
ContainerScope
, but as different functions on
FunSpecContainerScope
,
StringSpecContainerScope
, etc... This hurts a lot as I had my own extensions that used
withData
internally and now I have to go for the specific spec type, even though it used to be completely independent of the spec type used... anybody else bothered by that?
👍 1
💯 1
s
I think withData could be done at the container level. I don't know why it changed, let me check
o
That would absolutely be appreciated! I really wonder why this was changed and approved. Cause when not needed, it simply multiplies the code by the number of specs - and with new specs you need to implement it again and again...