Test-Driven Development in Swift

Compile Better Code with Swift Testing and TDD

Test-DrivenDevelopment inSwiftLODI, GIONO COVER SUPPLIED

EPUB · English

Price and availability

EPUB eBookUS store

$67.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Apress
Published
22 May 2026
ISBN
9798868826375
Subjects
Macintosh OS, Macintosh programming, Mobile & handheld device programming / Apps programming, Apple operating systems, Macintosh programming, Mobile and handheld device programming / Apps programming

About this book

Leverage Swift to practice effective and efficient Test-Driven Development (TDD). Software testing and TDD are evergreen programming concepts—yet Swift developers haven’t widely adopted them. What’s needed is a clear roadmap to learn and adopt TDD in the Swift world. Apple has invested heavily in the Swift Testing library and Xcode’s testing infrastructure, making testing a first-class priority in their ecosystem. The tools are there. This book will show you how to wield them. TDD has much more to offer than catching bugs. With this book, you’ll learn a philosophy for building software. TDD helps you solve problems incrementally, writing only as much code as necessary. By decomposing big problems into small steps, you can move along at a fast pace, always making visible progress.Embark on the Test-Driven Development journey by building a real iOS application and picking up new techniques in each chapter. The book’s concepts will emerge as you figure out ways to use tests to drive the solutions to the problems of each chapter. You’ll be introduced to all the staples and advanced concepts of the craft, understand the trade-offs each technique offers, and review an iterative process of software development.In this fully revised edition, all code is updated to use Apple’s new Swift Testing framework, with networking rewritten using structured concurrency and UI refreshed to match the latest SwiftUI APIs and iOS 26 design, making it the ideal resource for developers embracing the latest computing and development tools.Test-Driven Development in Swift gives you the blueprint for a highly efficient way to make amazingapps. What You Will Learn:Write tests that are easy to maintainManage and scale an ever-growing test suiteBuild a testing vocabulary that transfers beyond SwiftSee how Swift’s type system enhances the TDD flow of dynamic languagesDiscover how compiler errors can provide the same helpful guidance as failing testsWho This Book Is ForMid-level developers keen to write higher quality code and improve their workflows. Also, developers that have already been writing tests but feel they are not getting the most out of them.

Bibliographic data © Gardners Books Ltd.