iOS Code Testing: Test-Driven Development and Behavior-Driven Development with Swift - Softcover

Mishra, Abhishek

 
9781484226902: iOS Code Testing: Test-Driven Development and Behavior-Driven Development with Swift

Zu dieser ISBN ist aktuell kein Angebot verfügbar.

Inhaltsangabe

Chapter 1 title:  Introduction to Test-Driven Development
- What is Test Driven Development
- Key Principles of Test Driven Development
-------- Test First
--------  Red - Green - Refactor
--------  Remove Duplication
- Architectural Patterns
--------  Dependency Injection
--------  Single Responsibility
- Swift Mocking and Stubbing Techniques

Chapter 2 title:  Writing your first set of Unit Tests.
- Download and Install Xcode
- Introducing the CookieMonster Project
- Creating the Xcode project.
- Creating the CookieModel Object
- Creating the CookieBuilder Object
- Displaying Results in the Xcode Console
- Architectural Patterns
--------  The Builder Pattern

Chapter 3 title:  Introducing the MVVM pattern
- Apple's Model-View-Controller Implementation
- Microsoft's MV-VM Pattern.
- Challenges Implementing MV-VM in iOS Applications.
--------  Using Protocols to create Bindings.
--------  Using RxSwift to create Bindings.

Chapter 4 title:  Applying TDD techniques to the data model.
- Why Test The Model
- Building The Bank Account Class Using TDD Techniques
- Building the Transaction Class Using TDD Techniques
- Adding Support For Account Balance in The Bank Account Class
- Testing a CoreData Model Class

Chapter 5 title:  Testing View Controllers
- Introducing the LoginScreen project
- Creating a Local Stub Server
- Creating the View Controller Using Test-Driven Techniques
- Creating the View Model Using TDD Techniques
- Creating the Model Using TDD Techniques

Chapter 6 title:  Testing Collection Views
- The MVVM Architecture for Collection Views
- Building Model Objects
- Building the Cell View Model
- Building the CollectionView View Model
- Building the ColllectionViewCell 
- Building the CollectionView

Chapter 7 title:  Testing NSURLSession
Introducing the RestaurantList App
Overview of the RESTful API
Creating Model Objects
Creating The Service Manager
Mocking NSURLSession

Chapter 8 title:  Testing Legacy code
- The Problem of Untested Legacy Code
- Adding Functionality To An Existing Legacy Class
--- Sprouts
--- Wrappers
--- Decorators
- Dealing With a Large Class
--- Single Responsibility
- Dependency Breaking Techniques
--- Extracting Protocols
--- Preserve Signatures
--- Replace Concrete Method Parameters With Protocols
--- Dependency Injection

Chapter 9 title:  Continuious Integration
- Download and Install Mac OSX Server
- Configure the Xcode Build Server
- Client-side XCode changes 
- Integrating a Bot
- Deploying an Integration to a Provisioned Device.

Chapter 10 title:  Introduction to BDD
- What is Behaviour Driven Development
- Advantages and Disadvantages of BDD
- Testing Code vs Testing Behaviour
- Turning Business Requirements to Testable Scenarios
- Patterns and Anti-Patterns
- UI vs Non-UI Acceptance Tests

Chapter 11 title:  Installing Quick
- Installing Quick with Cocoapods
- Installing Quick with Carthage
- Configuring Your Xcode Project
- Using Nimble for Assertions.
Ch

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.

Weitere beliebte Ausgaben desselben Titels

9781484226889: iOS Code Testing: Test-Driven Development and Behavior-Driven Development with Swift

Vorgestellte Ausgabe

ISBN 10:  1484226887 ISBN 13:  9781484226889
Verlag: Apress, 2017
Softcover