Antidote-for-Tox / objcTox

No longer maintained
Mozilla Public License 2.0
37 stars 12 forks source link

Use an in-memory Realm for tests #132

Closed Chuongv closed 9 years ago

Chuongv commented 9 years ago

Currently in OCTRealmTests, we are writing to disk to create a realm file for testing. I think it would be better to use an in-memory realm, like so https://realm.io/docs/objc/latest/#testing

Since we are using realm 0.94, we would use +[RLMRealm inMemoryRealmWithIdentifier:]

dvor commented 9 years ago

Currently we're using 0.93. Need to migrate first https://github.com/Antidote-for-Tox/objcTox/issues/133