Repository contains simple iOS application written in Swift with a set of exemplary tests. Test were written with the following automation tools:
- KIF
- FBSnapshotTestCase
- Xcode UI Testing
In order project to run, you need following software installed:
- Xcode 8.X https://developer.apple.com/xcode/
- Cocoapods 1.0.1 https://cocoapods.org
TIPS:
- before running tests, run
pod install
in iOSTestingExample folder - to execute entire test suite, go to Xcode Product > Test or use command+U shortcut
- use Xcode Test Navigator to run UI or snapshot tests separately
- to run snaphost tests use iPhone 6S simulator