brabo-hi
04/20/2022, 2:48 AMJames Black
04/20/2022, 2:55 AMimport kotlin.test.Test
import kotlin.test.assertTrue
class CommonGreetingTest {
@Test
fun testExample() {
assertTrue(Greeting().greeting().contains("Hello"), "Check 'Hello' is mentioned")
}
}
For the client side iOS and Android have their own testing tools and that depends on how you want to test. For iOS I just use XCTest. For Android I tend to just use junit and I don't worry about testing the UI part on either, tbh.brabo-hi
04/20/2022, 3:07 AM