{"product_id":"9798868826368","title":"Test-Driven Development in Swift Compile Better Code with Swift Testing and TDD","description":"\u003ch1\u003eTest-Driven Development in Swift\u003c\/h1\u003e\u003ch2\u003eCompile Better Code with Swift Testing and TDD\u003c\/h2\u003e\u003ch3\u003eGio Lodi\u003c\/h3\u003e\u003cdiv\u003e\u003cb\u003eComputers \/ Programming \/ Macintosh\u003c\/b\u003e\u003c\/div\u003e\u003cbr\u003e\u003cdiv\u003e\n\u003cp\u003eLeverage Swift to practice effective and efficient Test-Driven Development (TDD). Software testing\u003cbr\u003eand TDD are evergreen programming concepts—yet Swift developers haven’t widely adopted them.\u003cbr\u003eWhat’s needed is a clear roadmap to learn and adopt TDD in the Swift world. Apple has invested\u003cbr\u003eheavily in the Swift Testing library and Xcode’s testing infrastructure, making testing a first-class\u003cbr\u003epriority in their ecosystem. The tools are there. This book will show you how to wield them.\u003c\/p\u003e\r\n\u003cp\u003e\u003cbr\u003eTDD has much more to offer than catching bugs. With this book, you’ll learn a philosophy for building\u003cbr\u003esoftware. TDD helps you solve problems incrementally, writing only as much code as necessary. By\u003cbr\u003edecomposing big problems into small steps, you can move along at a fast pace, always making visible\u003cbr\u003eprogress.\u003c\/p\u003e\r\n\u003cp\u003e\u003cbr\u003eEmbark on the Test-Driven Development journey by building a real iOS application and picking up\u003cbr\u003enew techniques in each chapter. The book’s concepts will emerge as you figure out ways to use\u003cbr\u003etests to drive the solutions to the problems of each chapter. You’ll be introduced to all the staples\u003cbr\u003eand advanced concepts of the craft, understand the trade-offs each technique offers, and review an\u003cbr\u003eiterative process of software development.\u003c\/p\u003e\r\n\u003cp\u003e\u003cbr\u003eIn this fully revised edition, all code is updated to use Apple’s new Swift Testing framework, with\u003cbr\u003enetworking rewritten using structured concurrency and UI refreshed to match the latest SwiftUI APIs\u003cbr\u003eand iOS 26 design, making it the ideal resource for developers embracing the latest computing and\u003cbr\u003edevelopment tools.\u003cbr\u003eTest-Driven Development in Swift gives you the blueprint for a highly efficient way to make amazing\u003cbr\u003eapps.\u003c\/p\u003e\r\n\u003cp\u003e\u003cstrong\u003e   What You Will Learn:\u003c\/strong\u003e\u003c\/p\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eWrite tests that are easy to maintain\u003c\/li\u003e\r\n\u003cli\u003eManage and scale an ever-growing test suite\u003c\/li\u003e\r\n\u003cli\u003eBuild a testing vocabulary that transfers beyond Swift\u003c\/li\u003e\r\n\u003cli\u003eSee how Swift’s type system enhances the TDD flow of dynamic languages\u003c\/li\u003e\r\n\u003cli\u003eDiscover how compiler errors can provide the same helpful guidance as failing tests\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003cp\u003e\u003cstrong\u003eWho This Book Is For\u003c\/strong\u003e\u003c\/p\u003e\r\n\u003cp\u003eMid-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. \u003c\/p\u003e\n\u003c\/div\u003e\u003cdiv\u003e\u003cp\u003e\u003cstrong\u003eGio Lodi \u003c\/strong\u003espent the past decade writing tests. He began with full-stack web development before moving into iOS programming and, more recently, into mobile infrastructure engineering. Ruby on Rails introduced him to the TDD world, and he fell in love with the fast-paced feedback loop. Any big problem could be decomposed in smaller and smaller parts until it got to an achievable size. Due to the lack of tools he first encountered moving into the Apple ecosystem, Gio researched and experimented with testing strategies and tools document in an ongoing project that catalogued on his blog and in talks and workshops at various industry conferences. \u003c\/p\u003e\u003c\/div\u003e\u003cbr\u003e\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003ePublication Date: \u003c\/td\u003e\n\u003ctd\u003e23 May 2026\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePublisher: \u003c\/td\u003e\n\u003ctd\u003eApress\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eImprint: \u003c\/td\u003e\n\u003ctd\u003eApress\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eISBN-13: \u003c\/td\u003e\n\u003ctd\u003e9798868826368\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eFormat: \u003c\/td\u003e\n\u003ctd\u003ePaperback \/ softback\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePage Count: \u003c\/td\u003e\n\u003ctd\u003e296\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":46266733068428,"sku":"9798868826368","price":49.49,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0710\/9545\/1788\/files\/9798868826368.jpg?v=1780604367","url":"https:\/\/lateknightbooks.com\/products\/9798868826368","provider":"Late Knight Books and Services, LLC","version":"1.0","type":"link"}