Commit Graph

78 Commits

Author SHA1 Message Date
kingst-stripe f42c1c1477
Update installation tests to run unit tests (#494) 2021-11-15 13:04:54 -08:00
Vardges Avetisyan 17e6d32de1 Merge branch 'private' into connections_sdk_private 2021-11-11 13:19:30 -05:00
kingst-stripe 2275b9076f
Add Bouncer unit tests to the StripeScan module (#478)
* Comment out UIApplication variables

* remove the legacy tests to see if there is something else going on

* added no-cache for testing

* Get legacy tests to work

* Add the current Bouncer unit tests to StripeScan

* Update bundle info

* remove commented out code and instead removed from test target
2021-11-10 12:52:15 -08:00
Vardges Avetisyan 6352554cf4 Merge branch 'connections_sdk_private' of github.com:stripe-ios/stripe-ios into connections_sdk_private 2021-11-10 14:59:44 -05:00
davidme-stripe 75087364e2
Refactor our CircleCI build (#438) 2021-11-10 11:32:57 -08:00
kingst-stripe b615a1db85
Create module tests for StripeScan (#472)
* Set up tests for StripeScan

* Comment out UIApplication variables

* remove the legacy tests to see if there is something else going on

* added no-cache for testing

* Get legacy tests to work
2021-11-10 10:25:36 -08:00
Vardges Avetisyan 70bd155d20 Merge branch 'connections_sdk_private' into vardges/configure_connections_sdk_module_tests 2021-11-10 12:44:11 -05:00
Vardges Avetisyan ad5e3a9033 Configure connections sdk module tests 2021-11-10 12:43:07 -05:00
kingst-stripe efb87045e2
Make sure that all of the Module.finished files get created (#475) 2021-11-10 08:55:53 -08:00
Mel df149834e8
IDPROD-2524: Setup continuous TestFlight deployment for Identity Example app (#392)
* Incrementing the example app version number from 1.0 -> 2.0 so build numbers don't conflict with Xcode Cloud
* Remove Fastlane lanes that were added to push to App Store Connect
2021-09-30 16:45:32 -07:00
Mel 395a76c4c1
IDPROD-2452 part2: StripeUICore test setup (#352)
* Added `StripeUICore` tests to fastfile and circleci config
* Enabled snapshot testing for `StripeUICore`
2021-09-10 15:57:52 -07:00
Mel 4b5840d7cc
IDPROD-2101: StripeIdentity installation tests (#318)
- Added `StripeIdentity` as a product in `Package.swift` (this allows it to be installed using SPM)
- Updated Cocoapods to latest (1.10.2) to make installation tests happy
- Created a second set of SPM installation tests with a swift-only project so we could test `StripeIdentity` (since it's is swift-only)
- Updated Cocoapods, SPM, and Carthage projects to test StripeIdentity
2021-08-04 10:49:54 -07:00
Mel a76fed8361 IDPROD-1942 part1: Create empty StripeIdentity project (#279)
Follows `iOS SDK Runbook: Adding a new module`
2021-08-04 10:27:47 -07:00
Mel 5e61d15907 Enable Identity Example app to be uploaded to TestFlight via Fastlane (#156)
Added an entry to the fastfile for the Identity example app so we could upload new builds to TestFlight using Fastlane.

Also updated the project's Info.plist to:
- Include app icons (otherwise App Store Connect rejects the build)
- Added `ITSAppUsesNonExemptEncryption` so we wouldn't need to fill out the encryption survey with every build upload
- Updated the build number using `fastlane ios store` command so it matches what's in App Store Connect
2021-08-04 10:27:47 -07:00
Mel 5e550dd4ce
MOBILESDK-291: Migrate tests to StripeCore and add tests to CI (#276)
StripeCore tests:
- Migrated tests specific to classes in `StripeCore` to `StripeCoreTests`
- Created a `StripeCoreTestUtils` target to contain `MockAnalyticsClient` so the mock can be included in test targets for multiple SDKs
- Added StripeCore tests to `Fastfile` & `circleci/config.yml` so they'll run on our CI
- Updated the [Configure Tests](https://confluence.corp.stripe.com/display/~mludowise/%5BWIP%5D+iOS+SDK+Runbook%3A+Adding+a+new+module#id-[WIP]iOSSDKRunbook:Addinganewmodule-ConfigureTests) portion of our runbook for adding a new module to match the steps taken in this PR

Cleanup:
- Renamed `main_tests` and `standard-tests` to `stripeios-tests` in the Fastfile & circle yml so our test names match the module they're testing
- Added `DEFAULT_TEST_DEVICE` and `DEFAULT_TEST_VERSION` consts to our Fastfile to help ensure consistent testing platforms across our tests as we add more modules
2021-07-08 15:03:22 -07:00
davidme-stripe 515f31afdd
Update to Big Sur + Xcode 12.5 on CircleCI (#225)
* Update to latest CircleCI builder

* More improvements

* Fix warning in Xcode 12.5
2021-06-17 10:27:55 -07:00
Ben Guo f4c0ca7ba0
Update Fastfile 2021-05-18 16:27:32 -07:00
Mel 244a54244f
Disable xcpretty inside fastlane (#168)
Added `disable_xcpretty: true` flag to `gym` calls inside fastlane.
2021-03-24 17:47:54 -07:00
Mel 02fec260fb
Add ability to upload example apps to TestFlight via Fastline (#158) 2021-03-23 17:36:38 -07:00
David Estes 3884cb9951 Refactor CI 2021-03-11 17:37:31 -08:00
davidme-stripe 65a892004e
Fix E2E cron job (#130) 2021-02-23 17:26:02 -08:00
davidme-stripe e498f4488f
Add E2E test (#122) 2021-02-23 15:45:07 -08:00
davidme-stripe f60b009a87
Optimize some tests (#89)
Tried a few things to speed up our CI. It's 35% less expensive to run, and we can use this workspace-caching stuff to add more complex integration tests in the future.
2021-01-27 12:40:29 -08:00
davidme-stripe 8adc9236b4
Fix Carthage and Swift Package Manager (#17)
The dynamic .xcframework can't be imported by Carthage, and requires that manual users embed Stripe3DS2.xcframework separately. Fix this by using the static Stripe3DS2.xcframework to create a combined Stripe.xcframework, like we distribute in the existing Objective-C version.
2020-11-18 14:40:50 -08:00
davidme-stripe cea45b4212
Swift conversion review: Update project files, scripts, and embedded dependencies (#1695) 2020-11-04 15:43:09 -08:00
David Estes 5ec5eec483 jazzy changes 2020-10-14 12:58:40 -07:00
David Estes 1cc9ea2094 Update 3DS2 headers, fastfile 2020-10-14 11:13:52 -07:00
David Estes 7c5d869bb6 Setup CircleCI 2020-10-08 17:54:02 -07:00