I am trying to set up some unit tests that interact with CBL using Robolectric however I am stuck with the error
java.lang.UnsatisfiedLinkError: no LiteCoreJNI in java.library.path which looks to be a limitation of Robolectric.
I haven’t been able to find much on unit test integration and almost nothing on later versions of 2.x…
Is there any doco I am missing?
Is there a way around the native library issue?
Failing that, is there a standard way of mocking CBL so I can do this as a standard unit test? We are currently using
addChangeListener for many of our calls as a way of propagating updates via Rx so I really need to find a way to mock this mechanism…