test(e2e): add docker-based end-to-end coverage for --backups-root and --force-keep

- Run E2E suite via unittest discovery inside the container
- Add E2E test for --id mode with real filesystem + fake dirval
- Add E2E test for --all + --force-keep to ensure latest backups are skipped

https://chatgpt.com/share/6954d89e-bf08-800f-be4a-5d237d190ddd
This commit is contained in:
2025-12-31 09:02:34 +01:00
parent bebf8d2273
commit 3150bc5399
7 changed files with 219 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ Scans:
| `--workers <n>` | Parallel workers (default: CPU count, min 2) |
| `--timeout <sec>` | Per-directory validation timeout (float supported, default: 300.0) |
| `--yes` | Non-interactive mode: delete failures automatically |
| `--force-keep <n>` | In `--all` mode: skip the last *n* backup folders (default: 0) |
---