Skip to content

Using os.GetEnv makes parallel testing impossible #11

@KenxinKun

Description

@KenxinKun

Whilst working on some tests I realised that loading configuration directly from the global os.GetEnv makes it impossible to run the tests in parallel (since changing the global environment would pollute the tests).

Would you consider adding an option to the Process method signature to allow users to pass in an alternative function if they so wish? I will submit a PR shortly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions