Hey folks, what are the differences between Kotest...
# kotest
s
Hey folks, what are the differences between Kotest and Spek?
s
Will try to compare but as I don't use Spek I may be slightly off, so please correct me if anyone sees anything wrong. Kotest supports testing JVM and JS. Spek supports JVM and native. Kotest provides assertions, a test framework and property testing. Spek is a test framework only. Kotest supports coroutines natively. Both have an Intellij plugin that is broadly the same (I assume the Spek one allows you to run individual tests) Kotest allows more flexibility in the test layout. https://kotest.io/docs/framework/testing-styles.html Kotest is more active https://github.com/kotest/kotest/commits/master https://github.com/kotest/kotest/graphs/contributors https://github.com/spekframework/spek/commits/2.x https://github.com/spekframework/spek/graphs/contributors Both are widely used. Maybe Spek is more widely used due to having some past association with Jetbrains. You'd be happy with either.
s
Thank you Sam, this is super helpful 🙂
Possibly not interesting to you, but this question was asked in r/Kotlin: https://www.reddit.com/r/Kotlin/comments/kccm6b/kotest_vs_spek_how_do_they_compare/
s
Thanks, I added a couple of comments.