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
I work on windows with a Pixi environement.
If i do not set the reporter at verify call, I get this error:
Even with
--approvaltests-use-reporter:Or with environnement variable:
export APPROVAL_TESTS_USE_REPORTER=approvaltests.reporters.diff_tools.ReportWithVisualStudioCode