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

Headless Android Emulator in Docker for CI Client Integration Tests #56

Open
raffaelfoidl opened this issue Oct 29, 2021 · 1 comment
Open

Comments

@raffaelfoidl
Copy link
Member

In GitLab by @11775820 on Oct 29, 2021, 18:48

#54 has introduced integration tests for the client application. The CI configuration does not support running full-fledged integration tests in an Android emulator in the virtualized CI environment. This ticket is responsible for achieving this task. The integration tests currently located at client/test/integration should be moved to client/integration_test. This will also make the run_on_device.{ps1|bat|sh} scripts obsolete. It is not yet decided whether a separate CI job for integration test is desired (as opposed to executing both unit as well as integration tests in the same job).

Links for research (reference):

Commands frequently used in this context:

sdkmanager "system-images;android-30;google_apis;x86_64"
sdkmanager --licenses

avdmanager -v create avd --name first_avd --abi google_apis/x86_64 --package "system-images;android-30;google_apis;x86_64"

emulator -avd first_avd -no-window -no-audio -no-accel
flutter emulator --launch first_avd
flutter test -d emulator-5554 --reporter expanded integration_test\main_test.dart
@raffaelfoidl
Copy link
Member Author

In GitLab by @11775820 on Oct 29, 2021, 18:48

marked this issue as related to #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant