https://github.com/wibosco/testhelpers-example
Modules are super useful for splitting our project into smaller, more manageable chunks. But they could be doing more. Here, we look at how a utility module can ease the burden not only for production targets but also test targets by introducing a test-helper target.
https://github.com/wibosco/testhelpers-example
ios swift targets unit-testing xcode
Last synced: 6 months ago
JSON representation
Modules are super useful for splitting our project into smaller, more manageable chunks. But they could be doing more. Here, we look at how a utility module can ease the burden not only for production targets but also test targets by introducing a test-helper target.
- Host: GitHub
- URL: https://github.com/wibosco/testhelpers-example
- Owner: wibosco
- License: mit
- Created: 2025-04-25T08:10:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-15T09:01:46.000Z (8 months ago)
- Last Synced: 2025-07-15T20:37:43.794Z (8 months ago)
- Topics: ios, swift, targets, unit-testing, xcode
- Language: Swift
- Homepage: https://williamboles.com/hitting-the-target-with-testhelpers/
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/wibosco/TestHelpers-Example/actions/workflows/swift.yml)
[](https://github.com/wibosco/TestHelpers-Example/blob/main/LICENSE)
# TestHelpers-Example
Modules are super useful for splitting our project into smaller, more manageable chunks. But they could be doing more. Here, we look at how a utility module can ease the burden not only for production targets but also test targets by introducing a test-helper target as shown in this post - https://williamboles.com/hitting-the-target-with-testhelpers/.
The project on the `main` branch does not have a test-helper target, as the associated post walks through how to add one. If you want to see the completed project with a test-helper target, checkout the `NetworkingTestHelpers` branch.