Get Free Shipping on orders over $79
Modularizing Legacy Projects Using TDD : Test-Driven Development with XCTest for iOS - Hassaan El-Garem

Modularizing Legacy Projects Using TDD

Test-Driven Development with XCTest for iOS

By: Hassaan El-Garem, Khaled El-Morabea

Paperback | 26 October 2021

At a Glance

Paperback


$74.99

or 4 interest-free payments of $18.75 with

 or 

Ships in 5 to 7 business days

Improve current or new projects with top notch testability and maintainability. Writing tests improves the design of your apps, as it pushes you to have a more modularized design. This in turn improves the maintainability and sustainability of your apps. This book is for iOS developers who already know the basics of iOS and Swift development but want to learn all the testing pro features in iOS.
You'll start by reviewing the TDD Cycle and how to implement these concepts on a legacy project or a new one. You'll then walk through TDD step-by-step on a blank project, including setting up test targets, assertions, and expectations. You'll follow that with all levels of testing such as unit tests, integration tests, and end-to-end tests, and also tackle fairly complex, yet badly written legacy code.
The book will take you through the journey of modularizing a legacy app using TDD. Throughout this journey, you will be introduced to multiple testing concepts and techniques, like writing tests for network and core data layers. You will write tests to ensure the thread safety of your app. And you'll add a new feature while you are in the middle of refactoring, which is an important skill so you can keep adding features while you are fixing your technical debt. By the end of this book, you will have all the tools needed to become a testing master.
What You'll Learn
  • Use mocking and dependency injection to make components more testable
  • Write tests for asynchronous code like network code
  • Add new features to existing legacy apps using TDD

Who This Book Is For
Experienced iOS developers who care about software quality and meeting customer expectations.

More in Apple Operating Systems

macOS Tahoe For Dummies : For Dummies (Computer/Tech) - Guy Hart-Davis
iPad & iPad Pro for Dummies : 2024-2025 Edition - Paul McFedries

RRP $49.95

$38.75

22%
OFF
Learning the bash Shell : In a Nutshell (O'Reilly) - Cameron Newham
iPhone Portable Genius : 6th Edition - Paul McFedries

RRP $32.95

$13.00

61%
OFF
macOS Monterey For Dummies : For Dummies (Computer/Tech) - Bob LeVitus
iPad and iPad Pro For Dummies - Paul McFedries

RRP $52.95

$44.75

15%
OFF
macOS Mojave in easy steps : Covers v 10.14 - Nick Vandome

RRP $27.99

$11.00

61%
OFF
The Cult of Mac : NO STARCH PRESS - Leander Kahney
Objective-C Pocket Reference : Pocket References Ser. - Andrew Duncan
Cocoa in a Nutshell : In a Nutshell - Michael Beam

RRP $85.75

$34.00

60%
OFF
iPod Fan Book : Fan Books - Yasukuni Notomi

RRP $28.50

$11.00

61%
OFF
Switching to the Mac : Missing Manual - David Pogue

RRP $47.75

$19.00

60%
OFF
Linux Desktop Pocket Guide : Pocket References Ser. - David Brickner
Switching to the Mac : The Missing Manual Yosemite Edition - David Pogue
Introducing iOS 8 - Steve Derico

RRP $76.00

$30.00

61%
OFF