Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
163decb7
Unverified
Commit
163decb7
authored
Jun 15, 2021
by
Jenn Magder
Committed by
GitHub
Jun 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary reference to iOS configuration in README (#84615)
parent
b7253df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
README.md
packages/integration_test/README.md
+7
-11
No files found.
packages/integration_test/README.md
View file @
163decb7
...
...
@@ -189,12 +189,11 @@ Open `ios/Runner.xcworkspace` in Xcode. Create a test target if you
do not already have one via
`File > New > Target...`
and select
`Unit Testing Bundle`
.
Change the
`Product Name`
to
`RunnerTests`
. Make sure
`Target to be Tested`
is set to
`Runner`
and language is set to
`Objective-C`
.
Select
`Finish`
.
Under
**Runner**
>
**Info**
>
**Configurations**
section, make sure, that
`Runner`
and
`RunnerTests`
have the same value under each configuration.
Make sure that the
**iOS Deployment Target**
of
`RunnerTests`
within the
**Build Settings**
section is the same as
`Runner`
.
Add the new test target to
`ios/Podfile`
by embedding in the existing
`Runner`
target.
```
```
ruby
target
'Runner'
do
# Do not change existing lines.
...
...
...
@@ -204,7 +203,11 @@ target 'Runner' do
end
end
```
Run
`flutter build ios`
from your project file to hook up the new settings.
To build
`integration_test/foo_test.dart`
from the command line, run:
```
sh
flutter build ios
--config-only
integration_test/foo_test.dart
```
In Xcode, add a test file called
`RunnerTests.m`
(or any name of your choice) to the new target and
replace the file:
...
...
@@ -216,14 +219,7 @@ replace the file:
INTEGRATION_TEST_IOS_RUNNER(RunnerTests)
```
Run
`Product > Tests`
to run the integration tests on your selected device.
To build
`integration_test/foo_test.dart`
from the command line, run:
```
sh
# Pass --simulator if building for the simulator.
flutter build ios integration_test/foo_test.dart
```
Run
`Product > Test`
to run the integration tests on your selected device.
To deploy it to Firebase Test Lab you can follow these steps:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment