July 2018
Intermediate to advanced
266 pages
7h 11m
English
The first step is to add the required dependencies to our project. The kotlin-test library provides annotations and base implementations for tests and assertions. Let's go to the build.gradle file and append the lines in bold:
dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" // Test libraries testCompile "org.jetbrains.kotlin:kotlin-test" testCompile "org.jetbrains.kotlin:kotlin-test-junit"}
Once the changes are applied, we will be able to start writing our Functional Tests.
Read now
Unlock full access