Agile RESOURCES

Agile Bookstore

iOS Unit Testing by Example: XCTest Tips and Techniques Using Swift

Fearlessly change the design of your iOS code with solid unit tests. Use Xcode’s built-in test framework XCTest and Swift to get rapid feedback on all your code — including legacy code. Learn the tricks and techniques of testing all iOS code, especially view controllers (UIViewControllers), which are critical to iOS apps. Learn to isolate and replace dependencies in legacy code written without tests. Practice safe refactoring that makes these tests possible, and watch all your changes get verified quickly and automatically. Make even the boldest code changes with complete confidence.

About the Author(s)
Jon Reid

Jon Reid is the author of iOS Unit Testing by Example and is a leading expert in unit testing and test-driven development (TDD) for iOS. He has been practicing TDD on Apple platforms since 2001. Now at Industrial Logic coaching developers in technical agile practices.

This outside affiliate link may provide a commission to Agile Alliance at no extra cost to you.

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

IMPORTANT: We have transitioned to a new membership platform. If you have not already done so, you will need to set up an account on the new platform to establish your user profile.

When you see the login screen, choose “Set up Account” and follow the prompts to create your new account. You can choose to log in using your social credentials for either Google or Linkedin (recommended), or you can set up your account using an email address.

Not yet a member? Sign up now