Skip to content

Conversation

@xta0
Copy link
Contributor

@xta0 xta0 commented Nov 16, 2019

Stack from ghstack:

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.

Differential Revision: D18606098

### 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.
xta0 added a commit that referenced this pull request Nov 16, 2019
ghstack-source-id: f9e4a3a
Pull Request resolved: #29963
### 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.
xta0 added a commit that referenced this pull request Nov 18, 2019
ghstack-source-id: d660e11
Pull Request resolved: #29963
### 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.
xta0 added a commit that referenced this pull request Nov 18, 2019
ghstack-source-id: 233228b
Pull Request resolved: #29963
### 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.
xta0 added a commit that referenced this pull request Nov 19, 2019
ghstack-source-id: 06782ff
Pull Request resolved: #29963
@facebook-github-bot
Copy link
Contributor

@xta0 merged this pull request in 5fa941d.

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
@facebook-github-bot facebook-github-bot deleted the gh/xta0/42/head branch November 23, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants