i.e. snapshots for tests that were renamed or no longer exist.
Suggested solution:
./test clean --snapshots
or
./test clean snapshots
would remove the test snapshots in the default location (tests/snapshots/PROJECT) that belong to no known test.
It seems that a simple ./test clean should remove the status files (in _build/testo/status/PROJECT) and that --snapshots would also remove dead snapshots rather than only removing dead snapshots.
A snapshots sub-subcommand seems logical but maybe too complicated in some ways.
Here's a proposed behavior:
./test clean: remove status
./test clean --status: remove status (same as the default)
./test clean --snapshots: remove dead snapshots
./test clean --status --snapshots: remove status and dead snapshots
./test clean --all: remove everything there is to remove, currently equivalent to ./test clean --status --snapshots
i.e. snapshots for tests that were renamed or no longer exist.
Suggested solution:
or
would remove the test snapshots in the default location (
tests/snapshots/PROJECT
) that belong to no known test.It seems that a simple
./test clean
should remove the status files (in_build/testo/status/PROJECT
) and that--snapshots
would also remove dead snapshots rather than only removing dead snapshots.A
snapshots
sub-subcommand seems logical but maybe too complicated in some ways.Here's a proposed behavior:
./test clean
: remove status./test clean --status
: remove status (same as the default)./test clean --snapshots
: remove dead snapshots./test clean --status --snapshots
: remove status and dead snapshots./test clean --all
: remove everything there is to remove, currently equivalent to./test clean --status --snapshots