#!/bin/bash # Test runner script for gitea-mcp-remote set -e echo "Running gitea-mcp-remote test suite..." echo # Install dev dependencies if not already installed if ! command -v pytest &> /dev/null; then echo "Installing dev dependencies..." pip install -e ".[dev]" echo fi # Run tests with coverage echo "Running tests with coverage..." python -m pytest tests/ -v --cov=src/gitea_mcp --cov-report=term-missing --cov-report=html echo echo "Coverage report saved to htmlcov/index.html"