There is an updated version of this course available, created for Swift 5.2, iOS 13, Xcode 11.4. View Latest Version
Pro

Testing in iOS

Sep 1 2015 · Video Course (59 mins) · Intermediate

Testing is a great way to help ensure the pieces of your app remain functionally correct and bug-free. Learn the basics of testing in iOS in this video tutorial series as you explore unit tests, assertions, performance tests, and the new UI testing features of Xcode 7. You should already be familiar with iOS and Swift before starting this series.

Version

  • Swift 2, iOS 9, Xcode 7

Introduction

3:40 Free

Find out what's covered in our Testing in iOS video tutorial series!

1

Learn the basics of unit testing by setting up the test target, accessing the code from your app, and trying out a few basic unit tests.

2

Learn how to perform tests on your asynchronous code and how to use subclasses to make light weight mocks to tests parts of your iOS app.

3

Learn how to use performance tests to examine performance trends over time and learn about the code coverage features which are new in Xcode 7.

4

Learn how user interface testing allows you to automate taps and swipes so that you can test your app's user facing functionality within your test suite.

5

Learn about element queries in UI testing and how to use recording to automate writing some of your UI testing code.

6

Conclusion

3:57

Review what was covered in our Testing in iOS video tutorial series and get some tips for how to go about testing in your own apps.

7

Contributors

Comments