Skip to main content
Free carbon-neutral shipping over $39.99  ·  Thousands of books on sale — sale ends soon

Modularizing Legacy Projects Using Tdd: Test-Driven Development with Xctest for IOS

by Khaled El-Morabea

Apress

Paperback 356 pages English Nov 09, 2021

(No reviews yet) Write a Review
Millions of titlesEvery book you're looking for
Carbon-neutral shippingFree on orders over $39.99
Fast shipping worldwideDelivered to your door
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 testingconcepts 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 LearnUse 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 TDDWho This Book Is ForExperienced iOS developers who care about software quality and meeting customer expectations.
Author:
Khaled El-Morabea
Publisher:
Apress
Publication Date:
Nov 09, 2021
Number of pages:
356 pages
Language:
English
Binding:
Paperback
ISBN-10:
148427427X
ISBN-13:
9781484274279