This module adds support for testing the resources module to test-utils
Installing
The library is available on Maven Central. You can import Kaluga Test Utils Resources as follows:
repositories {
// ...
mavenCentral()
}
// ...
dependencies {
// ...
implementation("com.splendo.kaluga:test-utils-resources:$kalugaVersion")
}
Mocks
Check out the full documentation
This library contains mock classes for StringLoader, FontLoader, KalugaColorLoader and ImageLoader.
Call mockColor, mockFont, or mockImage to generate mocks for KalugaColor, KalugaFont, or KalugaImage respectively.