nwe files
some files
This commit is contained in:
25
TESTING.md
Normal file
25
TESTING.md
Normal 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.
|
||||
Reference in New Issue
Block a user