should have asked first: which testing framework d...
# test
g
should have asked first: which testing framework do you prefer? Junit, KotlinTest, Spek?
o
I prefer kotlin-test(that one commonized JUnit from JetBrains) for it's simplicity. Dont fotget to choose mocking framework ;-) #mockk
a
TestNG is still the best for integration testing
d
You could also look into #spek, version 2.0 is soon coming out, which will be even better 🙂
g
forgot to mention that it's for android. Correct me if I'm wrong, seems like both
speck
and
kotlin-test
don't support instrumentation tests on android? Unit is no problem
d
You're probably right, but #mockk is supposed to (at least for mocking), and hopefully you're into some kind of MVVM or other pattern, and you don't have too many instrumentation tests...?
g
that's right, just identifying possible limitations.
@dave08 is it the same 2.0 spek version that is "coming soon" since November 2017? And iric they advised not to use 1.x.. And KotlinTest doesn't have ide support.. Back to JUnit I suppose.