Any recommendations for unit and integration testing (JUnit, TestNG, ...)?


I'm about to start replacing some home grown test code with either JUnit and TestNG. I'd like to run things from within IntelliJ. Any recommendations on how these interact with Kotlin, or should they both work equally well?



They should all work fine. There's also Spek that might interest you


Cool. Thanks.


Indepently of Kotlin, I would strongly suggest TestNG instead of JUnit. The parametrization of test methods is much better in TestNG, and there some other nice things that are not so powerful or not so clear in JUnit (like the framework architecture itself).