Skip to content

Feature Request: Automatically deleting unused snapshots #264

@ngc

Description

@ngc

We want to add pytest-insta to our codebase for snapshot testing but unfortunately it doesn't seem to delete no longer used snapshots?

Reproduction steps

  1. Create a test with a snapshot
  2. Run tests
  3. Delete the test
  4. Run tests again
    Result: The snapshot will still be there

I'll see if I can put up a PR to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions