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

Add no window option for running android emulator with no window #690

Merged
merged 6 commits into from
Apr 29, 2018

Conversation

yershalom
Copy link
Contributor

Tested locally and passed

@yershalom yershalom requested a review from rotemmiz April 25, 2018 12:49
@@ -34,6 34,8 @@ program
'e.g test with substring \':ios:\' in its name will not run when passing \'--platform android\'')
.option('-f, --file [path]',
'Specify test file to run')
.option('-W, --nowindow',
'Run Android without window')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.Be as expressive as you can, this is documentation. Text suggestion: "[Android Only] Launch Emulator in headless mode. Useful when running on CI."
2. Update docs (cli section)
3. Why capital W?
4. Let's use same flag as emulator --no-window.
WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Ok, fixed.
  2. Done.
  3. Right, changed this to -n
  4. --no-window is problematic for how we are doing the flags parsing (as you said). I changed it to --noWindow

@rotemmiz
Copy link
Member

This is inconsistent with other methods. Look at debug-synchronization, it can still be parsed correctly to debugSynchronization

@rotemmiz rotemmiz merged commit 7c0e46e into master Apr 29, 2018
@rotemmiz rotemmiz deleted the headless_android_emulator branch April 29, 2018 07:06
@noomorph noomorph mentioned this pull request Apr 30, 2018
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants