July 2018
Intermediate to advanced
242 pages
8h 6m
English
We are going to use the JUnit library to provide a core framework for running test-case classes. We need to add it to our project's list of project dependencies by declaring it in the gradle.build script:
implementation group: 'junit', name: 'junit', version: '4.12'
In order to make use of the Kotlin Mockito library, we can add it to the project dependencies with the following declaration:
implementation 'com.nhaarman:mockito-kotlin:1.5.0'
You can examine the implementation and configuration of recipes related to the Android framework in the AndroidSamples project available in the GitHub repository: https://github.com/PacktPublishing/Kotlin-Standard-Library-Cookbook/. To follow Android-related recipes, you just need to create ...
Read now
Unlock full access