Write Coroutine Tests | raywenderlich.com

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5443783-kotlin-coroutines-in-depth/lessons/12

The “end” code does not include the build.gradle file with powermock dependencies

testImplementation “org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.3”
testImplementation “org.powermock:powermock-module-junit4:2.0.2”
testImplementation “org.powermock:powermock-api-mockito2:2.0.2”

for those who dont want to mistype the dependencies

Hey @cubostecnologia!

You shouldn’t need the powermock dependencies, because we’re using Mockito Kotlin in the course. That should give you all you need to mock everything!