iOS Unit Testing with XCTest

This course walks you through the fundamentals of iOS Unit Testing using the XCTest framework.
Course info
Rating
(62)
Level
Intermediate
Updated
May 8, 2014
Duration
4h 46m
Table of contents
Introduction to Unit Testing in Xcode
XCTest Basics
Mocking and Stubbing
Patterns and Best Practices - Part 1
Patterns and Best Practices - Part 2
Continuous Integration
Description
Course info
Rating
(62)
Level
Intermediate
Updated
May 8, 2014
Duration
4h 46m
Description

This course will help you to understand the principles of iOS Unit Testing. In addition, you will learn some great patterns and best practices to implement when creating unit tests.

About the author
About the author

Matt Kruczek is the VP of Mobile, Web and AI at Tallan. Matt has extensive experience in the software industry and is responsible for creating and maintaining any and all architectures and strategies pertaining to the mobile, web and AI disciplines. He has architected and developed several end-to-end Line of Business applications using a variety of Microsoft Technologies including WCF, WPF, ASP.NET , C#, VB, MVC, SQL Server, Microsoft Bot Framework and Entity Framework.

More from the author
More courses by Matthew Kruczek
Section Introduction Transcripts
Section Introduction Transcripts

Introduction to Unit Testing in Xcode
Hi. I'm Matt Kruczek with Pluralsight, and I would like to welcome you to the course on iOS Unit Testing. This is the first module in a series of modules that will delve into the details of unit testing using Xcode. This module in particular will serve as an introduction to unit testing in iOS, and help everyone to get comfortable with some of the tools and terminologies I'll be using throughout this course. So let's go ahead and get started.

XCTest Basics
XCTest is the unit testing framework of choice when programming in Xcode. In this module, we're going to get familiar with the basics of how to utilize this framework.

Mocking and Stubbing
Mocking and stubbing are two techniques that can really help elevate your unit tests to the next level. In this module, we're going to talk about what tools, tips, and tricks you can use to help write mock, and stub objects within you Xcode applications.

Patterns and Best Practices - Part 1
Knowing what tools you have available is just half the battle when trying to write effective unit tests. The other half of the equation is knowing where and when to utilize them. So in the next two modules, I'm going to show you some of the patterns, and best practices you should adhere to when creating your unit tests.

Patterns and Best Practices - Part 2
In Part 2 of this two part section on Patterns and Best Practices, I'll be finishing up my coverage of some of the best patterns and practices to follow when creating unit tests for your iOS applications.

Continuous Integration
Continuous integration is a feature that's becoming more and more mainstream when it comes to unit testing in Xcode, especially with the release of Xcode 5. So in this module, I'm going to walk you through some of the new continuous integration features available in Xcode.