<p>Leverage Swift to practice effective and efficient test-driven development (TDD) methodology. Software testing and TDD are evergreen programming conceptsβyet Swift developers haven't widely adopted them. What's needed is a clear roadmap to learn and adopt TDD in the Swift world. Over the past yea
Test-Driven Development in Swift: Compile Better Code with XCTest and TDD
β Scribed by Gio Lodi
- Publisher
- Apress
- Year
- 2021
- Tongue
- English
- Leaves
- 307
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Leverage Swift to practice effective and efficient test-driven development (TDD) methodology. Software testing and TDD are evergreen programming conceptsβyet Swift developers haven't widely adopted them. What's needed is a clear roadmap to learn and adopt TDD in the Swift world. Over the past years, Apple has invested in XCTest and Xcode's testing infrastructure, making testing a new top priority in their ecosystem. Open-source libraries such as Quick and Nimble have also reached maturity. The tools are there. This book will show you how to wield them.Β
TDD has much more to offer than catching bugs. With this book, youβll learn a philosophy for building software. TDD enables engineers to solve problems incrementally, writing only as much code as necessary. By decomposing big problems into small steps, you can move along at a fast pace, always making visible progress.Β
Participate in the test-driven development journey by building a real iOS application and incorporating new concepts through each chapter. The book's concepts will emerge as you figure out ways to use tests to drive the solutions to the problems of each chapter. Through the TDD of a single application, youβll be introduced to all the staples and advanced concepts of the craft, understand the trade offs each technique offers, and review an iterative process of software development.Β
Test-Driven Development in SwiftΒ provides the path for a highly efficient way to make amazing apps.
What You'll Learn
- Write tests that are easy to maintain
- Look after an ever-growing test suite
- Build a testing vocabulary that can be applied outside the Swift world
- See how Swift programming enhances the TDD flow seen in dynamic languagesΒ
- Discover how compiler errors can provide the same helpful guidance as failing tests do
Who This Book Is For
Mid-level developers keen to write higher quality code and improve their workflows. Also, developers that have already been writing tests but feel they are not getting the most out of them.Β
π SIMILAR VOLUMES
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
<p><span>Build robust applications using TDD with Swift 5.5 and become a TDD expert by writing tests for view controller, views, network code, and even SwiftUI view</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Build a complete iOS app using test-driven development</span></span></l
<p><span>Build robust applications using TDD with Swift 5.5 and become a TDD expert by writing tests for view controller, views, network code, and even SwiftUI view</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Build a complete iOS app using test-driven development</span></span></l
If you program in C++ youve been neglected. Test-driven development (TDD) is a modern software development practice that can dramatically reduce the number of defects in systems, produce more maintainable code, and give you the confidence to change your software to meet changing needs. But C++ progr