© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. TsadokMastering Swift Package Managerhttps://doi.org/10.1007/978-1-4842-7049-3_7

7. Testing Is Caring

Avi Tsadok1  
(1)
Tel Mond, Israel
 

The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.

—Seymour Cray

Emily and the team decided to add a new package to the project. A package that encapsulates text generation logic to share it in the different targets easily.

This package takes a struct as a parameter and returns a generated string based on that structure.

Joshua, the junior iOS developer, was in charge of writing that package.

“Emily, do you have a few minutes for me? I have an issue with the text generation ...

Get Mastering Swift Package Manager: Build and Test Modular Apps Using Xcode now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.