๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

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

โœ Scribed by Abhishek Mishra


Publisher
Apress
Year
2017
Tongue
English
Leaves
449
Edition
1st ed.
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Put into motion practical examples to master Test-Driven Development (TDD) and acceptance testing in Swift.

This book uses a pragmatic approach to writing well-tested code and provides techniques that can be used to retrofit tests to legacy code bases. You'll be introduced to basic principles of TDD, such as Test First, Red-Green-Refactor, Remove Duplicate code, Dependency Injection, and Single Responsibility. Approaches covered include TDD, behavior-driven development (BDD), UI, and acceptance testing with common standard/open source frameworks.

iOS Code Testing offers helpful instruction to teach iOS developers to retrospectively fit tests to legacy code, refactor legacy code so as to make the code more testable, install and configure a popular Swift BDD framework, practice BDD with Xcode, and create automated UI tests with Xcode. Additionally, many projects have legacy code bases. Legacy code is often seen as a blocker when it comes to implementing any kind of testing.

What You Will Learn
Fit test to legacy code retrospectively
Install and configure popular Swift BDD frameworks
Practice BDD with Xcode

Who This Book Is For Software practitioners, such as Swift developers and mobile app testers.

โœฆ Table of Contents


Front Matter....Pages i-xix
Introduction to Test-Driven Development....Pages 1-11
Writing Your First Set of Unit Tests with Xcode....Pages 13-41
The MVVM Architectural Pattern....Pages 43-60
Applying TDD to the Model....Pages 61-99
Applying TDD to View Controllers....Pages 101-160
Applying TDD to Collection View Controllers....Pages 161-209
Testing URLSession....Pages 211-256
Working with Legacy Code....Pages 257-282
Continuous Integration....Pages 283-316
Introduction to Behavior-Driven Development....Pages 317-327
Installing Quick....Pages 329-349
Applying TDD and BDD Techniques....Pages 351-405
Testing the User Interface....Pages 407-432
Back Matter....Pages 433-440

โœฆ Subjects


Software Development;Software Design, Testing & Engineering;Programming;Computers & Technology;Compilers;Programming Languages;Computers & Technology;Swift;Programming Languages;Computers & Technology;Programming & App Development;Mobile Phones, Tablets & E-Readers;Computers & Technology;Programming Languages;Computer Science;New, Used & Rental Textbooks;Specialty Boutique;Software Design & Engineering;Computer Science;New, Used & Rental Textbooks;Specialty Boutique


๐Ÿ“œ SIMILAR VOLUMES


Test-driven iOS development with Swift 3
โœ Hauser, Dominik ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Write testable and maintainable code to develop highly-functional iOS apps</b><p><b>About This Book</b><p><li>Learn test-driven principles to help you build apps with fewer bugs and better designs<li>Become more efficient while working with Swift to move on to your next project faster!<li>Impl

Agile Java: Crafting Code with Test-Driv
โœ Langr, Jeff ๐Ÿ“‚ Library ๐Ÿ“… 2005 ๐Ÿ› Prentice Hall ๐ŸŒ English

Shows how Java and TDD integrate throughout the entire development lifecycle, helping you leverage efficient development techniques. This work also shows how to translate oral requirements into practical tests, and then how to use those tests to create reliable, high-performance Java code that solve

Test-Driven iOS Development
โœ Graham Lee ๐Ÿ“‚ Library ๐Ÿ“… 2012 ๐Ÿ› Addison-Wesley Professional ๐ŸŒ English

<p style="margin:0px;">As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices

Test-Driven iOS Development
โœ Graham Lee ๐Ÿ“‚ Library ๐Ÿ“… 2012 ๐Ÿ› Addison-Wesley Professional ๐ŸŒ English

As iOS apps become increasingly complex and business-critical, iOS developers must ensure consistently superior code quality. This means adopting best practices for creating and testing iOS apps. Test-Driven Development (TDD) is one of the most powerful of these best practices. Test-Driven iOS Devel