Course info
Aug 23, 2019
2h 24s
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.

Code is constantly changing, features are continuously being added, and bugs are being filed. Tests allow you to be productive and ensure your application is reliable, that you can refactor your codebase with confidence, and that you really squashed that bug. In this course, Testing Fundamentals in iOS, you’ll learn the basics of how to effectively test in iOS. First, you'll explore how to set up test targets. Next, you'll learn how to write unit tests, integration tests, and UI tests. Finally, you'll delve into mocking and testing asynchronous code. By the end of this course, you’ll know the best practices in writing testable code, how to gather code coverage, and how to randomize and parallelize your tests in practice.

About the author
About the author

Jonathan has worked in iOS, Android, front-end Javascript, and backend systems in Java, C#, and NodeJS. He's always looking to further his skills and share his knowledge with others.

More from the author
Becoming an Xcode Power User
2h 34m
May 22, 2020
SwiftUI: Getting Started
May 11, 2020
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Jonathan Wong, and welcome to my course, Testing Fundamentals in iOS. I'm a mobile developer at _____. One of the things that I'm passionate about is testing. Testing gives me the confidence that when I ship something to production, it works as intended. That's what we'll be doing in this course. We're going to take a look at an iOS app that fetches data from a server and see how we can write tests for it. In this course, some of the topics that we'll look at are testable code, asynchronous tests, mocking your tests, code coverage, and UI tests. By the end of this course, you'll have an understanding of how testing works in Xcode and a variety of testing tools that you can use in building your next great app. Before beginning this course, you should be familiar with Swift and iOS. I hope you'll join me on this journey to learn all about Testing Fundamentals in iOS at Pluralsight.