IOS Code Testing : Test-Driven Development and Behavior-Driven Development with Swift /: Test-Driven Development and Behavior-Driven Development with Swift. (2017)
- Record Type:
- Book
- Title:
- IOS Code Testing : Test-Driven Development and Behavior-Driven Development with Swift /: Test-Driven Development and Behavior-Driven Development with Swift. (2017)
- Main Title:
- IOS Code Testing : Test-Driven Development and Behavior-Driven Development with Swift
- Further Information:
- Note: Abhishek Mishra.
- Authors:
- Mishra, Abhishek
- Contents:
- 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 TechniquesChapter 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 PatternChapter 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 ClassChapter 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 TechniquesChapter 6 title: Testing Collection Views- The MVVM ArchitectureChapter 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 TechniquesChapter 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 PatternChapter 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 ClassChapter 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 TechniquesChapter 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 CollectionViewChapter 7 title: Testing NSURLSessionIntroducing the RestaurantList AppOverview of the RESTful APICreating Model ObjectsCreating The Service ManagerMocking NSURLSessionChapter 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 InjectionChapter 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 TestsChapter 11 title: Installing Quick - Installing Quick with Cocoapods- Installing Quick with Carthage- Configuring Your Xcode Project- Using Nimble for Assertions.Chapter 12 title: Applying BDD and TDD techniques- Reviewing The Business Requirements for The Project- Defining The Features and User Stories- Writing Down the Test Scenarios- Creating the Xcode Project- Creating BDD Test Cases with Quick- Implementing the RestaurantSearch View Controller- Implementing the RestaurantList View Controller- Implementing the Service Manager- Satisfying the Acceptance Criteria.Chapter 13 title: Testng the UI- Adding Support for UI Testing to Your Project- Key Parts of a UI Test Case- Key Classes- Assertions- UI Test Recording- Waiting For Elements. … (more)
- Publisher Details:
- Berkeley, CA : Apress
- Publication Date:
- 2017
- Copyright Date:
- 2017
- Extent:
- 1 online resource (440 pages)
- Subjects:
- Computer science
Computers -- Programming Languages -- General
Computers -- Programming -- General
Programming & scripting languages: general
Computer programming / software development
Software engineering
Computers -- Software Development & Engineering -- General
Software Engineering - Languages:
- English
- ISBNs:
- 9781484226896
- Related ISBNs:
- 9781484226889
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.353615
- Ingest File:
- 01_311.xml