John Dickinson

Results 3 comments of John Dickinson

The args that I've added aren't part of a plugin but are [part of pytest itself as I understand, documented here](https://docs.pytest.org/en/7.1.x/example/simple.html#pass-different-values-to-a-test-function-depending-on-command-line-options): In `conftest.py`: ```python def pytest_addoption(parser): """pytest hook to add...

This doesn't fully resolve the problem. It works if the user was trying to specify a file, but If you define a custom flag and that flag is too long...

Yes. I don't know why arguments are being assumed to be paths when they're not. I put more details in my comment on the bug report https://github.com/pytest-dev/pytest/issues/10169#issuecomment-1198326337