Skip to content

Dynamic environment setup for Xray plugin: loading config before test run #125

@KamilZiemski

Description

@KamilZiemski

I'd like to store jira_url and jira_token in a YAML file and load them before the test run. However, since this is a plugin, it executes before any hooks or fixtures, so loading environment variables at that point is too late.

Is there an alternative approach to dynamically load these values without setting the environment variables statically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions