Modularizing Legacy Projects Using TDD: Test-Driven Development with XCTest for iOS

Modularizing Legacy Projects Using TDD: Test-Driven Development with XCTest for iOS
Author: Khaled El-Morabea and Hassaan El-Garem
Publisher Finelybook 出版社:Apress; 1st ed. edition (October 26, 2021)
Language 语言:English
pages 页数:356 pages
ISBN-10 书号:148427427X
ISBN-13 书号:9781484274279

Book Description
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 Author: 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-Author:-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. Author: 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

隐藏内容1积分,请先!没有帐号? 注 册 一个!
赞(0) 觉得文章有用就打赏一下
未经允许不得转载:finelybook » Modularizing Legacy Projects Using TDD: Test-Driven Development with XCTest for iOS

评论 下载问题及网盘链接失效反馈!

评论前必须登录!

觉得文章有用就打赏一下

支付宝扫一扫打赏

微信扫一扫打赏