Unit Testing Swift Mobile App

Apply Test-Driven Development(TDD) process to iOS mobile app development in Swift

Unit Testing is a must-have skill and this video course is about unit testing.

What you’ll learn

  • Unit Test iOS Mobile App.
  • XCTest Framework.
  • Create, Run and Debug Unit Tests.
  • Mock Dependencies.
  • Use Dependency Injection.
  • UI Testing.

Course Content

  • Introduction –> 2 lectures • 2min.
  • Basics of Unit Testing in Xcode –> 19 lectures • 1hr 16min.
  • TDD. Implementing Model Validator –> 7 lectures • 34min.
  • Test Code in Isolation –> 4 lectures • 12min.
  • TDD. Implementing Network Service Class. –> 24 lectures • 1hr 21min.
  • TDD. Implementing Presenter Class in MVP Application –> 21 lectures • 1hr 9min.
  • Unit Testing View Controller –> 8 lectures • 48min.
  • Testing Old or Legacy Code –> 6 lectures • 21min.
  • Examples: Ways to Load UIViewController in a Unit Test –> 3 lectures • 10min.
  • Examples: Testing methods that throw Error –> 4 lectures • 15min.
  • Examples: Unit Test UITextField Attributes –> 4 lectures • 17min.
  • Examples: Testing Navigation. Push to Navigation Stack. –> 4 lectures • 19min.
  • UI Testing –> 16 lectures • 1hr 7min.
  • UI Testing. Screenshots & Attachments. –> 5 lectures • 13min.
  • UI Testing. Launch Arguments. –> 3 lectures • 13min.
  • UI Testing. Test Plans. –> 5 lectures • 22min.

Auto Draft


Unit Testing is a must-have skill and this video course is about unit testing.

If you take this video course, you will learn how to follow a Test Driven Development process to implement a feature for an iOS mobile app built with Swift.

This video course starts with Unit Test basics and continues with a very practical set of lessons that demonstrates how to follow a Test-Driven process to implement the User Signup feature in the Model View Presenter mobile app.

By the end of this video course, you will have a very clear understanding of how to write Unit Tests and UI Tests.

If you are a freelance developer you might postpone learning how to unit test iOS app for some time. But if you are planning to join a bigger team, then unit testing is a must-have skill for you to be able to work on important app features.

Get Tutorial