Skip to content
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

gcloud CLI integration & Firebase test lab #90

Open
bitsydarel opened this issue Feb 18, 2020 · 1 comment
Open

gcloud CLI integration & Firebase test lab #90

bitsydarel opened this issue Feb 18, 2020 · 1 comment
Labels
experimentation experiments with flutter and devices good first issue Good for newcomers

Comments

@bitsydarel
Copy link

Hi,
I was wondering if there's plan to implement integration for gcloud cli or firebase test lab ?

If not, how can sylph be extended to support gcloud cli or firebase test lab ?

@mmcc007
Copy link
Owner

mmcc007 commented Mar 9, 2020

Recently looked into this. Firebase Test Lab is designed differently from AWS Device Farm. Whereas Device Farm has a VM with a device attached that is called via aws cli, Test Lab has no VM and is 'no-host/self-test' that is called via gcloud cli.

This means that Flutter team may have to go with a different approach to testing in order to run on Test Lab. There are 2 projects that are addressing this approach:
https://pub.dev/packages/espresso
https://pub.dev/packages/e2e
Both appear to involve knowledge of running tests natively (using Java/Swift, etc...). Though I think the e2e package is the main path forward and just uses boilerplate for native part, so test remains in dart.

It is not clear if this will be the only path going forward, or if there will still be support for FlutterDriver. There is some discussion of writing a tool to migrate to new approach. May have to wait for dust to settle before integrating with sylph.

You can track progress on development of e2e package (otherwise known as changes to WidgetTester) on:
flutter/flutter#30214

If you get something working on Test Lab, let me know.

@mmcc007 mmcc007 added the good first issue Good for newcomers label Mar 9, 2020
@mmcc007 mmcc007 added the experimentation experiments with flutter and devices label Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimentation experiments with flutter and devices good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants