I'm developing my UI test with Swift 3.0 using Realm 2.4.2.
UI test target
- create realm object Cat with pk "cat_01"
- check if exists a Cat object with pk "cat_01" -> success
- open view controller that contains a list of cats fetched from realm -> empty list
Application
- CatsListViewController: a table view with cats (no Cat object are found)
How can I "see" both on test target and application same realm objects?
What I do not want to do is using the launchArguments workaround delegating app to create objects.
Aucun commentaire:
Enregistrer un commentaire