nwe files

some files
This commit is contained in:
Thomas
2026-01-29 10:51:19 +01:00
parent abf2109171
commit 2b81d5843a
7 changed files with 485 additions and 0 deletions

25
TESTING.md Normal file
View File

@@ -0,0 +1,25 @@
# Testing
Auto Clip is audio-heavy, so tests are split into:
- **Sanity / unit tests** (fast, no audio required)
- Optional **integration tests** (needs real audio files; not included by default)
## Install dev deps
```bash
pip install -U pytest
```
## Run tests
From repo root:
```bash
pytest -q
```
## What the sanity tests validate
- ffmpeg is available in PATH (or the test is skipped with a clear message)
- CLI argument parsing doesn't crash
- selection parsing is correct (ranges, lists)
- report JSON schema expectations (keys exist)
- basic utilities remain importable
These tests are designed to catch “oops I broke the CLI” regressions quickly.