-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Feature Request] Support for launching multiple emulators at once? #97
Comments
Hey, thanks for the query. The plugin doesn't support that right now but I don't see why it couldn't and don't have a problem with that functionality being added. I do have some questions about your usecase.
|
Thanks for the quick response! In our current implementation, we're launching three identical emulators, so that we can run tests in parallel - so yeah, as you inferred, it's just to be able to run a large test suite faster. We've settled on three emulators as a good balance of speed and performance - in the past we've used GoJuno's now defunct Swarmer tool for this, but we're looking for a convenient non-deprecated alternative aside from just scripting the emulator creation ourselves. |
I see, if you would be willing to submit a PR, I'd be happy to review and land it. To me, the biggest question is how the configuration/extension would work. Playing with the syntax, I think the cleanest would be a new field named androidEmulator {
emulator {
instances 3
}
} In the long term, I can imagine supporting multiple We will need to make sure that the name of each emulator is unique, even if specified. I would be happy with suffixing the emulator names with I know I just dumped a lot here, but are you willing to take a stab at this change yourself? |
I’d love to take a stab at! I’m not super familiar with Gradle plugin development, so I’ll have to take a bit to get familiar with the existing codebase, but I’ll see what I can do - the approaches you suggested make total sense. Thanks for the discussion and the openness to a contribution! |
Hey @sphanley, just checking in since it's been a while. How are your efforts going to try and do it yourself? |
Hey @quittle, thanks for checking in! So I didn't end up making it very far - ran into some design challenges, partially just due to my own unfamiliarity with building a Gradle plugin, and then just got super sidetracked with other priorities and and never really revisited it. Hoping to circle back to it someday, but it's not near the top of my list at this point, unfortunately. |
I've got a use case where I want to launch three emulators at the same time, to execute my tests in parallel. Does this plugin support that? I'd appreciate any pointers - I'm happy to try to help contribute, either to documentation or functionality, if appropriate.
The text was updated successfully, but these errors were encountered: