Test Utils Bluetooth

This module adds support for testing the bluetooth module to test-utils

Installing

The library is available on Maven Central. You can import Kaluga Test Utils Bluetooth as follows:

repositories {
    // ...
    mavenCentral()
}
// ...
dependencies {
    // ...
    implementation("com.splendo.kaluga:test-utils-bluetooth:$kalugaVersion")
}

Mocks

Check out the full documentation

This library contains mock classes for Scanner, DeviceConnectionManager, AdvertisementData, Characteristic, Descriptor, and BluetoothMonitor. In addition use createDeviceWrapper and createServiceWrapper to generate mocked Device and Service wrappers.