Recently I started testing an iOS app using XCTest but I found some difficulties, the main difficulty was deleting or resetting the app content in each test class.
I'm currently using XCode 11 and trying to delete/reset an app from iOS 13 for each test class, I've already tried:
- Delete app through springboard
- Delete app by going to the app settings
This step is really important in my tests because in each test I need to create a profile and log in, so in the next test I need to have the app just installed from scratch