An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![Build](https://github.com/wibosco/TestHelpers-Example/actions/workflows/swift.yml/badge.svg)](https://github.com/wibosco/TestHelpers-Example/actions/workflows/swift.yml)
Swift 6
[![License](http://img.shields.io/badge/License-MIT-green.svg?style=flat)](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.