Test-driven development in Swift : compile better code with XCTest and TDD /
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 p...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2021.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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 @EnvironmentObject
- 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.