Skip to content

Pytest plugin does not configure reporter #271

Description

@PhML

I work on windows with a Pixi environement.
If i do not set the reporter at verify call, I get this error:

RuntimeError: This machine has no reporter configuration

Even with --approvaltests-use-reporter:

$ pixi run pytest tests --approvaltests-use-reporter='PythonNative'
===================================================== test session starts =====================================================
platform win32 -- Python 3.12.13, pytest-9.1.1, pluggy-1.6.0
rootdir: H:\repo
configfile: pytest.ini
plugins: anyio-4.14.2, approvaltests-19.1.1, approvaltests-0.2.4, cov-7.1.0

Or with environnement variable:

export APPROVAL_TESTS_USE_REPORTER=approvaltests.reporters.diff_tools.ReportWithVisualStudioCode

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