The TestUtils
package contains the following to make testing quicker and more standardized:
NetworkSessionMock
to set custom network responses and errors
To use this package in your Swift project, add the following dependency:
.package(url: "https://github.com/1904labs/ios-test-utils.git", from 1.0.0)
To use this package in your Xcode project, select File > Swift Package > Add Package Dependency
and enter the following URL:
https://github.com/1904labs/ios-test-utils.git