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

Test for environment variables of process contexts #607

Open
slskiba opened this issue Sep 11, 2024 · 0 comments
Open

Test for environment variables of process contexts #607

slskiba opened this issue Sep 11, 2024 · 0 comments
Labels
enhancement New feature or request process executing external programs (ProcessContext) test related to testing and QA

Comments

@slskiba
Copy link
Contributor

slskiba commented Sep 11, 2024

With PR #578 we have added the functionality to set the IDEA_PROPERTIES and STUDIO_PROPERTIES to the process context that starts intellij and androidstudio respectively, instead of writing their values to ide.properties files at installation and reading them again when running the tools.

We want to test for their presence in the respective intellij and androidstudio tests. There might be further tools setting environment variables at run time (e.g. due to evaluated dependencies), that may also be tested.

In order to test this, we would need to mock the ProcessContext, run the corresponding tool and then verify that the environment variable was set in the mocked ProcessContext.

@slskiba slskiba added enhancement New feature or request test related to testing and QA process executing external programs (ProcessContext) labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request process executing external programs (ProcessContext) test related to testing and QA
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant