Есть ли вызов API в XCTest, который я могу добавить в приложение setUP() или tearDown() в reset приложение между тестами? Я посмотрел в точечном синтаксисе XCUIApplication, и все, что я видел, было .launch()
ИЛИ есть способ вызвать оболочку script в Swift? Затем я мог бы вызвать xcrun между тестовыми методами до reset симулятора.