You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CBM library is great for simulating a full Bluetooth connection workflow, but sometimes I just want to satisfy a dependency on a CoreBluetooth object in order to test other parts of a class. For example, I might have a class with a dependency on a CBPeripheral object that I want to test without using any CoreBluetooth capabilities.
To achieve this use case it would be helpful if the core CBM classes were open, so that they could be subclassed and used this way.
Subclassing might also be a useful way of customising CBM behaviour for test purposes.
The text was updated successfully, but these errors were encountered:
The CBM library is great for simulating a full Bluetooth connection workflow, but sometimes I just want to satisfy a dependency on a CoreBluetooth object in order to test other parts of a class. For example, I might have a class with a dependency on a
CBPeripheral
object that I want to test without using any CoreBluetooth capabilities.To achieve this use case it would be helpful if the core CBM classes were
open
, so that they could be subclassed and used this way.Subclassing might also be a useful way of customising CBM behaviour for test purposes.
The text was updated successfully, but these errors were encountered: