From f97a51533b1c200bc4a3349e3782a6d2c398d46d Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Wed, 1 Mar 2023 00:36:47 +0100 Subject: [PATCH] Fix documentation error in README of `integration_test` (#117977) Fix documentation error in README of `integration_test` --- packages/integration_test/README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/integration_test/README.md b/packages/integration_test/README.md index 96a5e5438b..3e7f94f9e0 100644 --- a/packages/integration_test/README.md +++ b/packages/integration_test/README.md @@ -310,7 +310,13 @@ dev_target="14.3" flutter build ios integration_test/foo_test.dart --release pushd ios -xcodebuild -workspace Runner.xcworkspace -scheme Runner -config Flutter/Release.xcconfig -derivedDataPath $output -sdk iphoneos build-for-testing +xcodebuild build-for-testing \ + -workspace Runner.xcworkspace \ + -scheme Runner \ + -xcconfig Flutter/Release.xcconfig \ + -configuration Release \ + -derivedDataPath \ + $output -sdk iphoneos popd pushd $product @@ -321,11 +327,15 @@ popd You can verify locally that your tests are successful by running the following command: ```sh -xcodebuild test-without-building -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos14.3-arm64.xctestrun" -destination id= +xcodebuild test-without-building \ + -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos14.3-arm64.xctestrun" \ + -destination id= ``` Once everything is ok, you can upload the resulting zip to Firebase Test Lab (change the model with your values): ```sh -gcloud firebase test ios run --test "build/ios_integ/Build/Products/ios_tests.zip" --device model=iphone11pro,version=14.1,locale=fr_FR,orientation=portrait +gcloud firebase test ios run \ + --test "build/ios_integ/Build/Products/ios_tests.zip" \ + --device model=iphone11pro,version=14.1,locale=fr_FR,orientation=portrait ```