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
Can you elaborate a bit more on the use case? JVM aside (which would be nice for speed reasons), then I would assume you could just do normal JUnit asserts?
Ah, like that. Yeah, we have considered doing that actually, but it has rather low priority, unfortunately.
But yes, callback testing in unit tests is rather annoying. I'm actually a bit surprised that no-one has created a generalized library for that yet. We cannot be the only one with that requirement.
cmelchior
changed the title
Possible improvement: Realm testing module
Release RunTestInLooperThread as a separate artifact
Jan 4, 2018
Goal
Verify RealmResults containing expected data in automated integration tests
Expected Results
This should be easy
Actual Results
You need to copy out a bunch of Realm internal stuff! 馃槃
It'd be nice if Realm either ran in JVM without Android (but that won't happen anytime soon, ofc)
or could provide a plug-and-play "testing" helper with which you can verify Realm notification after transactions and query results.
Version of Realm and tooling
Realm version(s): 4.3.1
Realm sync feature enabled: no
The text was updated successfully, but these errors were encountered: