We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe.
I have observed people delete tests during a refactor, but forget to remove the accompanying VCR cassettes.
What happens is unused cassettes slowly build-up in the repo, resulting in misleading grep results and wasted ROM.
grep
Currently the way I detect unused cassettes is by:
pytest --record-mode=once
git status
Describe the solution you'd like
pytest-recording to have some option to detect unused cassettes, when running pytest on the full repo.
pytest-recording
pytest
Describe alternatives you've considered
None considered.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
That would be useful! I think some inspiration for implementing this can come from https://github.com/syrupy-project/syrupy
It deletes unused snapshots during testing, which looks like exactly what is needed here.
Right now I don’t have a bandwidth to work on it, but will be happy to review a PR
Sorry, something went wrong.
Stranger6667
No branches or pull requests
Is your feature request related to a problem? Please describe.
I have observed people delete tests during a refactor, but forget to remove the accompanying VCR cassettes.
What happens is unused cassettes slowly build-up in the repo, resulting in misleading
grep
results and wasted ROM.Currently the way I detect unused cassettes is by:
pytest --record-mode=once
)git status
to look if any outstanding changes exist beyond file modificationsDescribe the solution you'd like
pytest-recording
to have some option to detect unused cassettes, when runningpytest
on the full repo.Describe alternatives you've considered
None considered.
Additional context
n/a
The text was updated successfully, but these errors were encountered: