yahoo / Override

In app feature flag management
MIT License
16 stars 7 forks source link

Add Test Support to SPM #40

Closed cshaines closed 1 year ago

cshaines commented 1 year ago

Description

This adds Test Support library. This only works for Swift. The Obj-C support is via the macros in FeatureTestSupport.h which I am guessing requires another target, but I am not sure how this should work since there is no actual Obj-C code.

Motivation and Context

We use the Test Support a lot in our tests and not having this was preventing us from migrating to SPM.

How Has This Been Tested?

I can now build tests that make use of withFeature/withFeatures

Screenshots (if appropriate):

Types of changes

Checklist:

License

I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.