Skip to content

Test for environment variables of process contexts  #607

Description

@slskiba

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestprocessexecuting external programs (ProcessContext)testrelated to testing and QA

    Projects

    Status
    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions