Skip to content

Add support for pytest.toml #179

@mikicz

Description

@mikicz

With pytest 9, pytest.toml is now supported as a native configuration format. Looking at https://github.com/pytest-dev/pytest-env/blob/main/src/pytest_env/plugin.py#L55, this is not yet supported by pytest-env.

I'd be happy to contribute if y'all let me know what the desired format should be in pytest.toml. Maybe like this, like it is in pyproject.toml but without the tool. prefix?

[pytest_env]
KEY = "value"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions