Book

Test-Driven iOS Development with Swift

Test-driven development is a proven way to find software bugs early. Writing tests before you code improves the structure and maintainability of your apps. This book will guide you through the steps for creating a complete app using TDD and cover the core elements of iOS apps: view controllers, view, navigation, networking, Combine, and SwiftUI.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

9h20m

Language

English

About Book

Who Is This Book For?

This book is for iOS developers looking to apply TDD to build maintainable and scalable applications. Intermediate-level developers with Swift application development experience will be able to make the most out of this book. Prior experience of applying TDD to Swift applications is not required.

Book content

chapters 9h20m total length

Your First Unit Tests

Understanding Test-Driven Development

Test-Driven Development in Xcode

The App We Are Going to Build

Building a Structure for ToDo Items

Testing, Loading, and Saving Data

Building a Table View Controller for the To-Do Items

Building a Simple Detail View

Test-Driven Input View in SwiftUI

Testing Networking Code

Easy Navigation with Coordinators

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required