What's a simple and cool testing framework for kot...
# announcements
r
What's a simple and cool testing framework for kotlin?
a
http://spekframework.org/ is one I hear a lot about.
a
I have tried a few and currently prefer jUnit5 especially the ParameterizedTests. I would be interested in other approaches.
n
this is not kotlin specific but i use testng
r
Thank you, I'll have a look at all three.
Heh, Spek looks like Mocha/Jasmin!
g
If your project is targeting JVM there is https://github.com/kotlintest/kotlintest
👍 1
c
I use TestNG obviously, because I’m old and set in my ways.
😂 2
r
Junit
c
g
Cedric Beust's TestNG needs to get mentioned here, since its author is a big kotlin fan and it works fabulously from kotlin
it is also one of the things that backs the platform target-agnostic
kotlin.test
package for the JVM
c
Thanks for the kind words, @groostav
m
Spek is cool, and pretty simple, but if you want something simpler still, try kotlintest’s StringSpec
c
Can Spek do test groups and data providers? These items are non negotiable for me (also, parallel running)
Life is too short to run tests sequentially.