should have asked first: which testing framework do you prefer? Junit, KotlinTest, Spek?
o
oleksiyp
06/10/2018, 10:48 AM
I prefer kotlin-test(that one commonized JUnit from JetBrains) for it's simplicity. Dont fotget to choose mocking framework ;-) #mockk
a
aandreyev
06/10/2018, 10:55 AM
TestNG is still the best for integration testing
d
dave08
06/10/2018, 11:32 AM
You could also look into #spek, version 2.0 is soon coming out, which will be even better 🙂
g
ghedeon
06/10/2018, 1:09 PM
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
dave08
06/10/2018, 1:12 PM
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
ghedeon
06/10/2018, 1:36 PM
that's right, just identifying possible limitations.
ghedeon
06/10/2018, 1:49 PM
@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.