-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[iOS] update fastlane to use Scanfile #29963
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
Closed
Closed
Conversation
This file contains hidden or 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
### Summary To run unit test via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. ### Test Plan - `fastlane scan` is able to run on CI machines.
### Summary To run unit test via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. ### Test Plan - `fastlane scan` is able to run on CI machines.
### Summary To run unit tests via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. The Scanfile serves as a config file for Fastlane where you can specify parameters you want to pass to `xcodebuild`. More about Scan - https://docs.fastlane.tools/actions/scan/ ### Test Plan - `fastlane scan` is able to run on CI machines.
### Summary To run unit tests via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. The Scanfile serves as a config file for Fastlane where you can specify parameters you want to pass to `xcodebuild`. More about Scan - https://docs.fastlane.tools/actions/scan/ ### Test Plan - `fastlane scan` is able to run on CI machines.
### Summary To run unit tests via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. The Scanfile serves as a config file for Fastlane where you can specify parameters you want to pass to `xcodebuild`. More about Scan - https://docs.fastlane.tools/actions/scan/ ### Test Plan - `fastlane scan` is able to run on CI machines.
shoumikhin
approved these changes
Nov 19, 2019
Contributor
xta0
added a commit
that referenced
this pull request
Nov 22, 2019
### Summary Recently we've found that the master branch was constantly broken due to some unwanted change being landed on mobile. The problem is that our CI was not able to detect the runtime errors. ### Previous work - Add an unit test target to the iOS TestApp ( #29962 ) - Update Fastlane to run tests ( #29963 ) ### What's been changed in CI 1. XCode version has been updated to 11.2.1 2. For iOS simulator build, we'll run some unit tests( currently only one) after the build test. Differential Revision: [D18641413](https://our.internmc.facebook.com/intern/diff/D18641413)
xta0
added a commit
that referenced
this pull request
Nov 22, 2019
### Summary Recently we've found that the master branch was constantly broken due to some unwanted change being landed on mobile. The problem is that our CI was not able to detect the runtime errors. ### Previous work - Add an unit test target to the iOS TestApp ( #29962 ) - Update Fastlane to run tests ( #29963 ) ### What's been changed in CI 1. XCode version has been updated to 11.2.1 2. For iOS simulator build, we'll run some unit tests( currently only one) after the build test. Differential Revision: [D18641413](https://our.internmc.facebook.com/intern/diff/D18641413)
xta0
added a commit
that referenced
this pull request
Nov 22, 2019
### Summary Recently we've found that the master branch was constantly broken due to some unwanted change being landed on mobile. The problem is that our CI was not able to detect the runtime errors. ### Previous work - Add an unit test target to the iOS TestApp ( #29962 ) - Update Fastlane to run tests ( #29963 ) ### What's been changed in CI 1. XCode version has been updated to 11.2.1 2. For iOS simulator build, we'll run some unit tests( currently only one) after the build test. Differential Revision: [D18641413](https://our.internmc.facebook.com/intern/diff/D18641413)
xta0
added a commit
that referenced
this pull request
Nov 22, 2019
### Summary Recently we've found that the master branch was constantly broken due to some unwanted change being landed on mobile. The problem is that our CI was not able to detect the runtime errors. ### Previous work - Add an unit test target to the iOS TestApp ( #29962 ) - Update Fastlane to run tests ( #29963 ) ### What's been changed in CI 1. XCode version has been updated to 11.2.1 2. For iOS simulator build, we'll run some unit tests( currently only one) after the build test. Differential Revision: [D18641413](https://our.internmc.facebook.com/intern/diff/D18641413)
facebook-github-bot
pushed a commit
that referenced
this pull request
Nov 22, 2019
Summary: Pull Request resolved: #30133 ### Summary Recently we've found that the master branch was constantly broken due to some unwanted change being landed on mobile. The problem is that our CI was not able to detect the runtime errors. ### Previous work - Add an unit test target to the iOS TestApp ( #29962 ) - Update Fastlane to run tests ( #29963 ) ### What's been changed in CI 1. XCode version has been updated to 11.2.1 2. For iOS simulator build, we'll run some unit tests( currently only one) after the build test. Test Plan: Imported from OSS Differential Revision: D18641413 Pulled By: xta0 fbshipit-source-id: 12942206f1dee045b2addba3ae618760e992752c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Summary
To run unit tests via Fastlane, simply run
fastlane scan. Under the hood, it usesxcodebuildto run the unit tests. The Scanfile serves as a config file for Fastlane where you can specify parameters you want to pass toxcodebuild. More about Scan - https://docs.fastlane.tools/actions/scan/Test Plan
fastlane scanis able to run on CI machines.Differential Revision: D18606098