skip to main content
資源種類 顯示結果: 顯示結果: 查詢種類 索引

Modularizing legacy projects using TDD test-driven development with XCTest for IOS

Khaled. El-Morabea Hassaan El-Garem; SpringerLink (Online service) 2021

Springer Nature eBook

線上取得

  • 題名:
    Modularizing legacy projects using TDD test-driven development with XCTest for IOS
  • 著者: Khaled. El-Morabea
  • Hassaan El-Garem; SpringerLink (Online service)
  • 主題: Computer software -- Testing; Application software -- Development; Apple and iOS
  • 所屬期刊: Springer Nature eBook
  • 描述: Chapter 1: TDD Basics -- Chapter 2: Unit Tests -- Chapter 3: UITests -- Chapter 4: Testing Pyramid -- Chapter 5: TDD Deep Dive -- Chapter 6: Modularization for the Win -- Chapter 7: Dependency Injection and Mocks -- Chapter 8: Avoiding Multithreading Nightmares -- Chapter 9: Testing your Network -- Chapter 10: Taming Core Data -- Chapter 11: Adding Feature to Legacy App -- Chapter 11: Handling Production Issues.
    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. You will: 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.
  • 出版者: Berkeley, CA : Apress : Imprint: Apress
  • 建立日期: 2021
  • 格式: 1 online resource (xvii, 335 p.) : ill., digital ; 24 cm..
  • 語言: 英文
  • 識別號: ISBN9781484274286;ISBN9781484274279
  • 資源來源: NUTN ALEPH

正在檢索遠程資料庫,請稍等