https://kotlinlang.org logo
#feed
Title
# feed
j

Jarosław Michalik

10/09/2018, 9:11 PM
https://github.com/rozkminiacz/KotlinUnitTesting Hi guys! I just wrote down few samples of popular testing frameworks - and how to use them in Kotlin. In each module you will find parameterized and regular test, and Gradle configuration for specific testing tool.
👍 3
c

cedric

10/09/2018, 9:28 PM
No TestNG? o_O
👆 3
j

Jarosław Michalik

10/09/2018, 9:33 PM
Those are frameworks I am used to - feel free to submit TestNG in PR!
a

arekolek

10/10/2018, 7:40 AM
Do you have favorites? I liked KotlinTest most for its completness and good use of Kotlin features, but I had trouble using it with Junit4 and Junit5 had trouble running with Android
j

Jarosław Michalik

10/10/2018, 8:53 AM
I think my favorite is Spek - I use it in all personal projects. It nicely support test nesting and is highly customizable.
2 Views