665 B
665 B
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
pip install -U pytest
Run tests
From repo root:
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.