# Test Module — Test execution for ontoref
# ==========================================

# Run all tests (workspace, all features)
test-all:
    @echo "Running tests..."
    cargo test --workspace --all-features

# Run tests for a specific crate
test crate:
    cargo test -p {{crate}}

# Run tests with coverage (requires cargo-llvm-cov)
test-coverage:
    @echo "Running tests with coverage..."
    cargo llvm-cov --all-features --lcov --output-path lcov.info

# Run only ontology crate tests (fast, no external deps)
test-ontology:
    cargo test -p ontoref-ontology

# Run only daemon tests (requires default features)
test-daemon:
    cargo test -p ontoref-daemon
