Is there an existing issue for this?
Steps to reproduce
- Follow https://patrol.leancode.co/ci/firebase-test-lab
- https://github.com/leancodepl/patrol/blob/master/packages/patrol/example/run_android_testlab#L21
Actual results
First, I know this is not a problem with patrol but directly with firebase test lab but wondering if you have a workaround or a solution for this.
From the firebase docs: https://docs.flutter.dev/testing/integration-tests, they ask us to create assembleDebug
./gradlew app:assembleDebug -Ptarget=integration_test/<name>_test.dart for each test file.
And you are doing the a similar example https://github.com/leancodepl/patrol/blob/master/packages/patrol/example/run_android_testlab#L21
But after a while you can't have all tests in the same file, we now have about 25 test files and I am trying to figure out how can we run all of these at the same time in firebase test lab.
Things I tried so far
- Create a import file with a single main called
all_tests.dart and invoke each test main() in it.
- Create assembleDebug with multiple -Ptarget arguments eg:
./gradlew app:assembleDebug -Ptarget=integration_test/first_test.dart -Ptarget=integration_test/second_test.dart
But in first case its running tests only in the first file and in second case only the last file.
I will also post this on flutter integration_test github issues but usually its easier to talk with folks on smaller projects
also let me know if you have a different method to contact for questions and this is reserved more for issues
Logs
Logs
n/a
Patrol version
n/a
Patrol Doctor output
n/a
Flutter Doctor output
Flutter Doctor output
[!] Flutter (Channel stable, 3.7.9, on macOS 13.3.1 22E772610a darwin-arm64, locale en-US)
! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.5/libexec/bin/dart, which is not inside your
current Flutter SDK checkout at /Users/smalugu/fvm/versions/3.7.9. Consider adding
/Users/smalugu/fvm/versions/3.7.9/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.78.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
Is there an existing issue for this?
Steps to reproduce
Actual results
First, I know this is not a problem with patrol but directly with firebase test lab but wondering if you have a workaround or a solution for this.
From the firebase docs: https://docs.flutter.dev/testing/integration-tests, they ask us to create assembleDebug
./gradlew app:assembleDebug -Ptarget=integration_test/<name>_test.dartfor each test file.And you are doing the a similar example https://github.com/leancodepl/patrol/blob/master/packages/patrol/example/run_android_testlab#L21
But after a while you can't have all tests in the same file, we now have about 25 test files and I am trying to figure out how can we run all of these at the same time in firebase test lab.
Things I tried so far
all_tests.dartand invoke each test main() in it../gradlew app:assembleDebug -Ptarget=integration_test/first_test.dart -Ptarget=integration_test/second_test.dartBut in first case its running tests only in the first file and in second case only the last file.
I will also post this on flutter integration_test github issues but usually its easier to talk with folks on smaller projects
also let me know if you have a different method to contact for questions and this is reserved more for issues
Logs
Logs
n/a
Patrol version
n/a
Patrol Doctor output
n/a
Flutter Doctor output
Flutter Doctor output
[!] Flutter (Channel stable, 3.7.9, on macOS 13.3.1 22E772610a darwin-arm64, locale en-US) ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/smalugu/fvm/versions/3.7.9. Consider adding /Users/smalugu/fvm/versions/3.7.9/bin to the front of your path. [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 14.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.1) [✓] VS Code (version 1.78.1) [✓] Connected device (4 available) [✓] HTTP Host Availability