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
This commit is contained in:
parent
efb87045e2
commit
b615a1db85
|
@ -105,6 +105,16 @@ jobs:
|
|||
- run: "bundle exec fastlane stripeidentity_tests"
|
||||
- archive_logs
|
||||
|
||||
stripescan-tests:
|
||||
executor: mac-executor
|
||||
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- prep_environment
|
||||
- run: "bundle exec fastlane stripescan_tests"
|
||||
- archive_logs
|
||||
|
||||
stripeuicore-tests:
|
||||
executor: mac-executor
|
||||
|
||||
|
@ -240,6 +250,9 @@ workflows:
|
|||
- stripeidentity-tests:
|
||||
requires:
|
||||
- ci-builds
|
||||
- stripescan-tests:
|
||||
requires:
|
||||
- ci-builds
|
||||
- stripeuicore-tests:
|
||||
requires:
|
||||
- ci-builds
|
||||
|
|
|
@ -76,6 +76,7 @@ platform :ios do
|
|||
sh("./ci_scripts/test.rb --build-only --scheme StripeApplePay")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme StripeiOS")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme StripeIdentity")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme StripeScan")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme 'Basic Integration'")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme 'IntegrationTester'")
|
||||
sh("./ci_scripts/test.rb --build-only --scheme 'LocalizationTester'")
|
||||
|
@ -101,6 +102,12 @@ platform :ios do
|
|||
end
|
||||
end
|
||||
|
||||
lane :stripescan_tests do
|
||||
Dir.chdir("..") do
|
||||
sh("./ci_scripts/test.rb --scheme StripeScan --device '#{DEFAULT_TEST_DEVICE}' --version #{DEFAULT_TEST_VERSION}")
|
||||
end
|
||||
end
|
||||
|
||||
lane :stripeuicore_tests do
|
||||
Dir.chdir("..") do
|
||||
sh("./ci_scripts/test.rb --scheme StripeUICore --device '#{DEFAULT_TEST_DEVICE}' --version #{DEFAULT_TEST_VERSION}")
|
||||
|
@ -137,6 +144,7 @@ platform :ios do
|
|||
sh("./ci_scripts/test.rb --scheme 'StripeiOS' --device 'iPhone 6' --version 11.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeCore' --device 'iPhone 6' --version 11.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeUICore' --device 'iPhone 6' --version 11.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeScan' --device 'iPhone 6' --version 11.4 --skip-snapshot-tests")
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -145,6 +153,7 @@ platform :ios do
|
|||
sh("./ci_scripts/test.rb --scheme 'StripeiOS' --device 'iPhone 6' --version 12.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeCore' --device 'iPhone 6' --version 12.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeUICore' --device 'iPhone 6' --version 12.4 --skip-snapshot-tests")
|
||||
sh("./ci_scripts/test.rb --scheme 'StripeScan' --device 'iPhone 6' --version 12.4 --skip-snapshot-tests")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -61,6 +61,11 @@ fastlane ios stripecore_tests
|
|||
fastlane ios stripeidentity_tests
|
||||
```
|
||||
|
||||
### ios stripescan_tests
|
||||
```
|
||||
fastlane ios stripescan_tests
|
||||
```
|
||||
|
||||
### ios stripeuicore_tests
|
||||
```
|
||||
fastlane ios stripeuicore_tests
|
||||
|
|
Loading…
Reference in New Issue