-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# API Testers cleanup - Moves all API Testers into main RevenueCat workspace - ensure that they all use the local build, not a hardcoded commit - kill all the separate projects, create a single project with a framework per test (objc api tests, swift api tests, etc, etc) - creates a single scheme that builds all of those targets in one pass - update relevant CI (to do) Here's what this actually looks like: a single scheme in Xcode, which you can test using command + U (or just build, since it effectively works too) <img width="515" alt="Screenshot 2024-07-31 at 6 09 33 PM" src="https://github.com/user-attachments/assets/53882e38-f34b-4878-a11e-5d9c304e57ec"> <img width="278" alt="Screenshot 2024-07-31 at 6 09 44 PM" src="https://github.com/user-attachments/assets/3a7a444c-36da-4c82-ab57-4aeab77adb5d"> *Note:* Okay, I'd directly recommend _not_ reviewing the diff, since it's kind of insane, and instead checking out the branch to see if things make sense.
- Loading branch information
Showing
148 changed files
with
2,235 additions
and
2,808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
1,864 changes: 1,864 additions & 0 deletions
1,864
Tests/APITesters/AllAPITests/AllAPITests.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// AllAPITests.h | ||
// AllAPITests | ||
// | ||
// Created by Andrés Boedo on 7/31/24. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for AllAPITests. | ||
FOUNDATION_EXPORT double AllAPITestsVersionNumber; | ||
|
||
//! Project version string for AllAPITests. | ||
FOUNDATION_EXPORT const unsigned char AllAPITestsVersionString[]; | ||
|
||
// Note: this file is empty because we only want the ability to run tests, but API tests really run at | ||
// the compilation step. I.e.: if the test compiles and can run, then it already passed. |
18 changes: 18 additions & 0 deletions
18
Tests/APITesters/AllAPITests/AllAPITestsTests/AllAPITestsTests.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// AllAPITestsTests.swift | ||
// AllAPITestsTests | ||
// | ||
// Created by Andrés Boedo on 7/31/24. | ||
// | ||
|
||
@testable import AllAPITests | ||
import XCTest | ||
|
||
class AllAPITestsTests: XCTestCase { | ||
|
||
func testExample() throws { | ||
// Note: this test is empty because we only want the ability to run tests, but API tests really run at | ||
// the compilation step. I.e.: if the test compiles and can run, then it already passed. | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
...s/CustomEntitlementComputationSwiftAPITester/CustomEntitlementComputationSwiftAPITester.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// CustomEntitlementComputationSwiftAPITester.h | ||
// CustomEntitlementComputationSwiftAPITester | ||
// | ||
// Created by Andrés Boedo on 7/31/24. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for CustomEntitlementComputationSwiftAPITester. | ||
FOUNDATION_EXPORT double CustomEntitlementComputationSwiftAPITesterVersionNumber; | ||
|
||
//! Project version string for CustomEntitlementComputationSwiftAPITester. | ||
FOUNDATION_EXPORT const unsigned char CustomEntitlementComputationSwiftAPITesterVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <CustomEntitlementComputationSwiftAPITester/PublicHeader.h> | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.