Overview
Design with test-driven development techniques
Refactor legacy code to make the code more testable
Create automated UI tests with Xcode
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (13 chapters)
Keywords
About this book
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.
Authors and Affiliations
About the author
Bibliographic Information
Book Title: iOS Code Testing
Book Subtitle: Test-Driven Development and Behavior-Driven Development with Swift
Authors: Abhishek Mishra
DOI: https://doi.org/10.1007/978-1-4842-2689-6
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Abhishek Mishra 2017
Softcover ISBN: 978-1-4842-2688-9Published: 30 June 2017
eBook ISBN: 978-1-4842-2689-6Published: 30 June 2017
Edition Number: 1
Number of Pages: XIX, 440
Number of Illustrations: 14 b/w illustrations, 185 illustrations in colour
Topics: Software Engineering, Programming Languages, Compilers, Interpreters, Programming Techniques