Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rollouts] Add integration test app #12239

Merged
merged 1 commit into from
Jan 5, 2024
Merged

[Rollouts] Add integration test app #12239

merged 1 commit into from
Jan 5, 2024

Conversation

themiswang
Copy link
Contributor

Adding integration test app
Right now added 4 targets:

  • Neither Crash nor RC integration
  • Either one of Crash or RC integration
  • Both Crash and RC integration

To run the test app:

  • gcert your local machine
  • run ./generate_featureRolloutsTestsApp.sh

Console app: https://firebase-console-ci.corp.google.com/u/0/project/feature-rollouts-test-app/settings/general/ios:com.firebase.config.featureRolloutsTestApp

#no-changelog

@themiswang themiswang marked this pull request as ready for review January 4, 2024 18:36
import Foundation
import SwiftUI

struct CrashButtonView: View {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has a interface for Crash testing. For RC side will add later if needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danasilver
Copy link
Contributor

Just jotting down some notes for future me:

Had to swap the Ruby version in .ruby-version to 2.7.6 (installed via rbenv).

Script is in FirebaseRemoteConfig so:

gcert
./FirebaseRemoteConfig/generate_featureRolloutsTestApp.sh

Then just ran the app in Xcode and everything worked 🎈

Screenshot 2024-01-05 at 11 05 06 AM

@themiswang
Copy link
Contributor Author

Just jotting down some notes for future me:

Had to swap the Ruby version in .ruby-version to 2.7.6 (installed via rbenv).

Script is in FirebaseRemoteConfig so:

gcert
./FirebaseRemoteConfig/generate_featureRolloutsTestApp.sh

Then just ran the app in Xcode and everything worked 🎈

Screenshot 2024-01-05 at 11 05 06 AM

In case anyone need a ruby version control, here is a blog for that: https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/

@themiswang themiswang merged commit 897a002 into featureRollouts Jan 5, 2024
109 of 111 checks passed
@themiswang themiswang deleted the testapp branch January 5, 2024 16:09
themiswang added a commit that referenced this pull request Jan 8, 2024
themiswang added a commit that referenced this pull request Jan 23, 2024
@firebase firebase locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants