Zum Hauptinhalt springen
Dekorationsartikel gehören nicht zum Leistungsumfang.
Test-Driven Development in Swift
Compile Better Code with XCTest and TDD
Taschenbuch von Gio Lodi
Sprache: Englisch

58,84 €*

inkl. MwSt.

Versandkostenfrei per Post / DHL

Aktuell nicht verfügbar

Kategorien:
Beschreibung
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, yoü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, yoü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.
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, yoü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, yoü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.
Über den Autor

Gio Lodi spent the past decade writing tests. He began with full-stack web development before moving into iOS programming and, more recently, into mobile infrastructure engineering. Ruby on Rails introduced him to the TDD world, and he fell in love with the fast-paced feedback loop. Any big problem could be decomposed in smaller and smaller parts until it got to an achievable size. Due to the lack of tools he first encountered moving into the Apple ecosystem, Gio researched and experimented with testing strategies and tools document in an ongoing project that catalogued on his blog and in talks and workshops at various industry conferences.

Zusammenfassung

Test any kind of software, simple or complicated, pure logic or interfacing, with third-party dependencies

Gain helpful guidance from compiler errors as from failing tests

Solve problems incrementally by writing only as much code as necessary

Inhaltsverzeichnis

Chapter 1: Why TDD?.- Chapter 2: XCTest Introduction.- Chapter 3: Getting Started with TDD.- Chapter 4: TDD in the Real World.- Chapter 5: Changing Tests with Fixtures.- Chapter 6: Testing Static SwiftUI Views.- Chapter 7: Testing Dynamic SwiftUI Views .- Chapter 8: Code Based on Indirect Inputs.- Chapter 9: Testing JSON Decoding.- Chapter 10: Testing Network Code.- Chapter 11: Injecting Dependencies with [...] Chapter 12: Testing Side Effects.- Chapter 13: Testing a Conditional View Presentation.- Chapter 14 Fixing Bugs and Changing Existing Code with TDD.- Chapter 15 Keeping Tests Isolated with Fakes and Clear with Dummies.- Chapter 16: Conclusion.- Cheat Sheet.- Appendix A: Where to Go From Here.- Appendix B: Testing with Quick and Nimble.- Appendix C: TDD with UIKit.

Details
Erscheinungsjahr: 2021
Fachbereich: Betriebssysteme & Benutzeroberflächen
Genre: Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
Inhalt: xix
288 S.
18 s/w Illustr.
288 p. 18 illus.
ISBN-13: 9781484270011
ISBN-10: 1484270010
Sprache: Englisch
Ausstattung / Beilage: Paperback
Einband: Kartoniert / Broschiert
Autor: Lodi, Gio
Auflage: 1st ed.
Hersteller: Apress
Apress L.P.
Maße: 235 x 155 x 17 mm
Von/Mit: Gio Lodi
Erscheinungsdatum: 02.07.2021
Gewicht: 0,47 kg
Artikel-ID: 119629750
Über den Autor

Gio Lodi spent the past decade writing tests. He began with full-stack web development before moving into iOS programming and, more recently, into mobile infrastructure engineering. Ruby on Rails introduced him to the TDD world, and he fell in love with the fast-paced feedback loop. Any big problem could be decomposed in smaller and smaller parts until it got to an achievable size. Due to the lack of tools he first encountered moving into the Apple ecosystem, Gio researched and experimented with testing strategies and tools document in an ongoing project that catalogued on his blog and in talks and workshops at various industry conferences.

Zusammenfassung

Test any kind of software, simple or complicated, pure logic or interfacing, with third-party dependencies

Gain helpful guidance from compiler errors as from failing tests

Solve problems incrementally by writing only as much code as necessary

Inhaltsverzeichnis

Chapter 1: Why TDD?.- Chapter 2: XCTest Introduction.- Chapter 3: Getting Started with TDD.- Chapter 4: TDD in the Real World.- Chapter 5: Changing Tests with Fixtures.- Chapter 6: Testing Static SwiftUI Views.- Chapter 7: Testing Dynamic SwiftUI Views .- Chapter 8: Code Based on Indirect Inputs.- Chapter 9: Testing JSON Decoding.- Chapter 10: Testing Network Code.- Chapter 11: Injecting Dependencies with [...] Chapter 12: Testing Side Effects.- Chapter 13: Testing a Conditional View Presentation.- Chapter 14 Fixing Bugs and Changing Existing Code with TDD.- Chapter 15 Keeping Tests Isolated with Fakes and Clear with Dummies.- Chapter 16: Conclusion.- Cheat Sheet.- Appendix A: Where to Go From Here.- Appendix B: Testing with Quick and Nimble.- Appendix C: TDD with UIKit.

Details
Erscheinungsjahr: 2021
Fachbereich: Betriebssysteme & Benutzeroberflächen
Genre: Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
Inhalt: xix
288 S.
18 s/w Illustr.
288 p. 18 illus.
ISBN-13: 9781484270011
ISBN-10: 1484270010
Sprache: Englisch
Ausstattung / Beilage: Paperback
Einband: Kartoniert / Broschiert
Autor: Lodi, Gio
Auflage: 1st ed.
Hersteller: Apress
Apress L.P.
Maße: 235 x 155 x 17 mm
Von/Mit: Gio Lodi
Erscheinungsdatum: 02.07.2021
Gewicht: 0,47 kg
Artikel-ID: 119629750
Warnhinweis

Ähnliche Produkte

Ähnliche Produkte