Closed andrewdmontgomery closed 3 months ago
I wasn't here when this was created. So I don't know the history. I'll bet there was a reason to @testable import
for this originally.
This seems to work well now, though. Is there a reason to continue to use the @testable import
still?
Is there a reason to continue to use the @testable import still?
Nope I don't think there is.
Closes #
Description
Since the
TestHelper
target is not listed as a Product in thePackage.swift
, it is not available for use by third parties who integrate our SDK.Instead of using
@testable
, let's set the access levels in theTestHelper
module such that they reflect our usage of the module from theGravatarTests
andGravatarUITests
modules.@testable import
imports when importningTestHelper
in theGravatarTests
andGravatarUITests
unit tests.TestHelper
module to accommodate this changepackage
accessTesting Steps
GravatarTests
should pass locallyGravatarUITests
should pass locallymake validate-pod
should pass locally (note: there is one warning about deprecation, which CI ignores)import TestHelper
from the Demo App