Skip to content

Report snapshot files that moved outside Testo's private folders #161

@mjambon

Description

@mjambon

This is a similar issue as #129 but in this situation, we want to report snapshot files that exist in the standard location but are unused because a custom location was newly specified with Testo.stdout ~expected_stdout_path () or similar.

It would be great if we could provide a way to move these files for the user. Like we have run --autoclean for deleting unused files, we could add an --automove option. Both autoclean and automove options could be extended in the future to be a little smarter. For example, detecting when a test was renamed and migrating its snapshots would be useful, a bit like how Git detects renamed files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions