Thread
#kotlintest
    sam

    sam

    3 years ago
    Why not make login user an extension on CoroutineScope then you can call it on a main scope as well as just call it inside a kotlintest test
    Sergio Crespo Toubes

    Sergio Crespo Toubes

    3 years ago
    Any example please? loginUser is in another class.
    sam

    sam

    3 years ago
    fun CoroutineScope.loginUser(nick: String, password: String) = ...