This short step by step guide walks you through unit testing, mocking and continuous integration and how to get these running in your Swift projects. Agile Swift also looks at how to write your Swift apps using test driven development (TDD). What you'll learn Β· How to write unit tests in Swift Β· How
Agile Swift: Swift Programming Using Agile Tools and Techniques
β Scribed by Godfrey Nolan (auth.)
- Publisher
- Apress
- Year
- 2017
- Tongue
- English
- Leaves
- 179
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
This short step by step guide walks you through unit testing, mocking and continuous integration and how to get these key ingredients running in your Swift projects. This book also looks at how to write your Swift apps using test driven development (TDD).
Agile practices have made major inroads in iOS development, however itβs very unusual to see something as basic as unit testing on a Swift application. Done correctly, Agile development results in a significant increase in development efficiency and a reduction in the number of defects.
Apple has released unit testing and code coverage frameworks for Swift development in XCode. Up until now getting unit testing up and running in Swift was not for the faint-hearted. Thankfully now, there is no excuse other than a lack of information on where to get started.
iOS developers are faced with their own set of problems such as tightly coupled code, fragmentation, immature testing tools all of which can be solved using existing Agile tools and techniques. After using this book, you'll learn how to make your Swift apps agile and sound.
What You Will Learn:
- How to write unit tests in Swift
- How to write an application using Test Driven Development
- Refactoring
- Mocking frameworks
- How to set up and configure a Continuous Integration Server
- How to measure code coverage
- GUI Testing
Who This Book Is For:
Swift developers and would be mobile app testers will benefit from the guidance in this book.
β¦ Table of Contents
Front Matter....Pages i-xi
Introduction....Pages 1-23
Swift Unit Testing....Pages 25-60
Third-Party Tools....Pages 61-95
Mocking....Pages 97-116
UI Testing....Pages 117-129
Test Driven Development....Pages 131-167
Back Matter....Pages 169-173
β¦ Subjects
Apple and iOS;Software Engineering;Programming Languages, Compilers, Interpreters
π SIMILAR VOLUMES
<div>As contrary as it sounds, Βplanningβ Β as we traditionally understand the termΒcan be the worst thing a company can do. Consider that volatile weather events disrupt trusted supply chains, markets, and promised delivery schedules. Ever-shifting geo-political tensions, as well as internal politi
Agile ALM is a guide for Java developers who want to integrate flexible agile practices and lightweight tooling along all phases of the software development process. The book introduces a new vision for managing change in requirements and process more efficiently and flexibly. It synthesizes technic
The extraordinary story of how a devoted nun became an equally devoted campaigner for justice β as a successful criminal defence lawyer. When Yvonne Benedicta Swift entered the Sacre Coeur convent in Rose Bay in 1938, she was determined to dedicate herself to religious life. But in the 1970s she did
Accelerating Process Improvement Using Agile Techniques explains how agile programming is applied to standard process improvement. By applying agile techniques, IT organizations can speed up process improvement initiatives, minimize the resources these initiatives require, and maximize the benefits