Skip to content

please add looponfailrootsignore option #633

Description

@zsoldosp

(I hope this is the right repo to open the issue, I arrived here via pytest-dev/pytest#679 pointing to #499).

I think #51 isn't a duplicate of this issue, though if the regex based watch list suggestion is the fix, that would solve this issue too.

I'm using https://pypi.org/project/vcrpy/ in some tests where I want to test my 3rd party API wrappers, and record the vcr files alongside the test files (similar to jest's snapshot testing approach). However, when I am just creating the API interaction, pytest --looponfail goes into an infinite loop, as the recorded file keeps updating.

It would be great if there was a looponfailrootsignore option, similar to the rsyncignore option

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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