In this video I show how to add UI tests to an existing iOS project. The process is very similar to the previous video about adding unit tests ( • Adding Unit Tests to an Existing iOS ... ) but a little bit easier.
- Make sure your UI test bundle is in your app scheme's "Test" section
UI tests can be used to do some pretty powerful things, which I will build off of in future videos.
There is no difference in UI testing between a SwiftUI project and a UIKit project, they both integrate UI tests in the same way.