analytics-android icon indicating copy to clipboard operation
analytics-android copied to clipboard

Segment in Robolectric unit tests

Open edenman opened this issue 5 years ago • 1 comments

What do people do for this? Use a wrapper class and have a fake implementation of that? Mockito? It would be great if there were some easy way to build a no-op and set it like Analytics.setSingletonInstance(NO_OP_SEGMENT_ANALYTICS)

edenman avatar Feb 12 '20 01:02 edenman

Fake implementation would be better even better than no-op.

saadfarooq avatar Jun 29 '21 19:06 saadfarooq