My Account Log in

1 option

Test-Driven Development in Swift : Compile Better Code with Swift Testing and TDD.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Lodi, Gio.
Series:
Professional and Applied Computing Series
Language:
English
Subjects (All):
Computer software--Testing.
Computer software.
Computer software--Development.
Swift (Computer program language).
Physical Description:
1 online resource (197 pages)
Edition:
2nd ed.
Place of Publication:
Berkeley, CA : Apress L. P., 2026.
Summary:
Leverage Swift to practice effective and efficient Test-Driven Development (TDD).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.
Contents:
Test-Driven Development in Swift
A Gift for You
A Note on Indentation and Method Names
Acknowledgments
Table of Contents
About the Author
About the Technical Reviewer
1. Why Test-Driven Development?
2. Swift Testing Introduction
3. Getting Started with Test-Driven Development
4. Test-Driven Development in the Real World
5. Changing Tests with Fixtures
6. Testing Static SwiftUI Views
7. Testing Dynamic SwiftUI Views
8. Testing Code Based on Indirect Input
9. Testing JSON Decoding
10. Testing Network Code
11. Injecting Dependencies with @EnvironmentObject
12. Testing Side Effects
13. Testing Conditional View Presentation
14. Fixing Bugs and Changing Existing Code with TDD
15. Keeping Tests Isolated with Fakes and Clear with Dummies
16. Conclusion
Appendix A: Where to Go from Here
Appendix B: XCTest
Appendix C: Testing with Quick and Nimble
Appendix D: TDD with UIKit
Index.
Notes:
Includes index.
Description based on publisher supplied metadata and other sources.
ISBN:
9798868826375
OCLC:
1593097035

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account