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

[espresso] add support for "-env" flag when used with espresso (Android) in saucectl #462

Open
gevo20 opened this issue Dec 1, 2021 · 0 comments

Comments

@gevo20
Copy link

gevo20 commented Dec 1, 2021

🚀 Feature Proposal

Currently saucectl doesn't support -env flag with espresso and xcuitests frameworks. It would be pretty handy if this feature would work with those frameworks.

Motivation

User could pass environment variables to Emulator and use them from espresso tests. (for example, for passing secret variables, passwords...)

Example

saucectl run -c ./.sauce/config.yml -e TEST_ENV=Hello
and then, I would be able to get the value of env variable from tests with System.getenv("TEST_ENV")

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

2 participants