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

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

作者: El-Morabea Khaled El-Garem Hassaan
出版社: Apress
出版在: 2021-10-26
ISBN-13: 9781484274279
ISBN-10: 148427427X
裝訂格式: Quality Paper - also called trade paper
總頁數: 356 頁





內容描述


Chapter 1: Introduction Why write tests?Levels of testingOverview of TDD Chapter 2: Your First Test Basics of testing in iOSXCTestCode Examples Chapter 3: The Testing Pyramid Testing Level Values Distributing tests along levels Chapter 4: TDD Deep Dive Core conceptsComplex examplesImplement projects from scratch with TDD Chapter 5: Modularization for the Win Introducing a legacy projectTransform with maintainabilityBreak up larger componentsApply TDD for modularization Chapter 5: Dependency Injection and Mocks Write tests for a componentDownsides of these techniquesDeciding when to apply Chapter 6: Avoiding Threading Nightmares Threading issues Simulate situationsDetermine which components need to have multithreading tests Chapter 7: Testing Your Network Layer Testing network code cDifferences between sync and async codeTest network code Chapter 8: Taming CoreData Core Data Testing Core Data layer Chapter 9: Adding Features to Legacy AppsTesting concepts and techniquesAdd a feature to an existing applicationTDD and modularization Modify a tested and modularized project Chapter 10: Handling Production Issues Improve the application quality Make sure that similar problems don't happen againTools used to identify and keep track of bugs and crashes.Add tests for every production issue discovered Chapter 11: Performance Testing Write performance testsMetricKitValue of performance testingWrite performance tests for iOS applications




相關書籍

Professional Android ,4e

作者 Reto Meier Ian Lake

2021-10-26

The Swift Developer's Cookbook (Paperback)

作者 Erica Sadun

2021-10-26

Swift Style: An Opinionated Guide to an Opinionated Language

作者 Erica Sadun

2021-10-26