-
Notifications
You must be signed in to change notification settings - Fork 152
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
Run external program from within a test #606
Comments
Personally not a fan of the name
What is the scope of this feature? On one hand I feel like exposing too many features would just encourage usage of it (and I am not sure if it is something worth encouraging), but on the other hand lack of feature might be a blocker for some. |
True, I agree it's not a good name. What about
Haha, good question! I hope to gather some info from our users: @jBorkowska, @fylyppo, @Kendru98, @zoskar, @lmlikota – what do you want? :) |
I don't know bc I never needed it :) That doesn't mean it's a useless feature, just me not knowing what to propose. |
This has been implemented in #630. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
@mateuszwojtczak mentioned that one of our big customers has complex tests and sometimes needs to run external scripts, e.g to perform the request to the database.
We need to think of the API that our users will use for running programs on the host machine.
Here's my initial proposal for the
HostAutomator.runScript()
method:Example usage:
For consideration:
dart:io
'sProcess.run()
andProcess.start()
?start
-variant)?cc: @jBorkowska, @mateuszwojtczak, @jakubfijalkowski, @shilangyu, @fylyppo
The text was updated successfully, but these errors were encountered: