This directory contains convenience scripts for development setup and testing.
# initial setup (installs uv and dependencies)
./scripts/setup.sh
# run tests (various options available)
./scripts/run_tests.sh # runs quick tests by default
./scripts/run_tests.sh help # see all options# initial setup (checks uv and installs dependencies)
scripts\setup.bat
# run tests (various options available)
scripts\run_tests.bat # runs quick tests by default
scripts\run_tests.bat help # see all optionssetup.sh/setup.bat: One-time development environment setup- Installs/checks for uv package manager
- Installs all development dependencies
- Makes test scripts executable (Unix only)
run_tests.sh/run_tests.bat: Flexible test execution with multiple modes
| mode | description | command |
|---|---|---|
| quick | Fast parallel tests, excludes slow tests (default) | ./scripts/run_tests.sh quick |
| full | All tests including performance tests | ./scripts/run_tests.sh full |
| coverage | Generate coverage report in htmlcov/ |
./scripts/run_tests.sh coverage |
| single | Sequential execution (no parallelization) | ./scripts/run_tests.sh single |
| lint | Run only linting checks (ruff) | ./scripts/run_tests.sh lint |
| all | Complete suite: linting + all tests | ./scripts/run_tests.sh all |
- during development: Use
quickmode for rapid feedback - before committing: Run
allto ensure code quality - debugging failures: Use
singlemode for clearer output - ci simulation: Use
allto replicate CI checks locally
# make scripts executable
chmod +x scripts/*.sh- unix/linux/macos: The setup script will offer to install it
- windows: Install from https://github.com/astral-sh/uv or use
winget install --id=astral-sh.uv
# manually create/activate environment
uv sync --extra dev
source .venv/bin/activate # unix/linux/macos
.venv\Scripts\activate # windows- contributing guide - full development workflow
- test documentation - detailed testing information
- ci configuration - automated checks