Kotlin, JUnit and TestNG, data-driven testing

Well that is weird. With JUnit4 I did:

Test fun x() { }

but with TestNG it has to be:

[Test] fun x() { }

I think the question here may not be why didn’t TestNG work, but why did the JUnit ever work.

Thanks for pointing out my lack of brackets, I am now a much happier bunny :slight_smile: