Skip to main content
Tests are organized by interface layer. Run any layer independently:
scripts/test-core.sh   # core pipeline stages
scripts/test-sdk.sh    # public SDK
scripts/test-cli.sh    # CLI commands
scripts/test-rest.sh   # REST API services

Pre-push hook

The repository ships a pre-push hook at .githooks/pre-push that runs all four layers before each push and blocks the push if any layer fails. Enable it once:
git config core.hooksPath .githooks

Test organization

Tests live beside the code they cover, in a tests/ package within each module:
ragrails/interfaces/cli/chunking/tests/test_commands.py
ragrails/interfaces/sdk/storing/tests/test_client.py
ragrails/core/stg_04_storing/tests/test_storing.py