The repo includes Python unit, integration, and e2e tests plus Android unit tests.
| Folder | Purpose |
|---|---|
tests/unit/ |
focused logic tests for training, metrics, manifests, and model code |
tests/integration/ |
broader workflow and subsystem tests |
tests/e2e/ |
top-level user workflow and edge-case coverage |
tests/fixtures/ |
generated sample assets and expected values |
pytest tests/unit -qpytest tests/unit/test_finetune_education.py tests/unit/test_generate_v6_manifests.py tests/unit/test_raw_powerpoint_ingestion.py -qpytest tests/integration -qpytest tests/e2e -qcd android
.\gradlew testDebugUnitTestCurrent Kotlin unit tests include processing-related coverage such as:
SlideDetectorTest.ktSegmentDetectionConfigTest.ktBitmapSharpenerTest.kt
If tests rely on fixture assets, regenerate them with:
python tests/fixtures/generate_fixtures.py- Run at least the relevant unit tests for the area you changed.
- If you change CLI flags, update docs and help-based tests together.
- If you change manifest or checkpoint conventions, run both unit and integration coverage where possible.
- For Android processing changes, pair Kotlin tests with a local debug build.