#!/bin/bash # Test runner script for foxhunt_runpod module set -e # Exit on error echo "=========================================" echo "Foxhunt RunPod Module Test Suite" echo "=========================================" # Activate virtual environment source .venv/bin/activate echo "" echo "Running tests with coverage..." echo "" # Run tests with coverage pytest tests/foxhunt_runpod/ \ -v \ --cov=foxhunt_runpod \ --cov-report=term-missing \ --cov-report=html:htmlcov \ --cov-report=xml:coverage.xml \ "$@" echo "" echo "=========================================" echo "Test Summary" echo "=========================================" echo "Coverage report: htmlcov/index.html" echo "XML report: coverage.xml" echo "" echo "Run specific tests:" echo " ./run_tests.sh tests/foxhunt_runpod/test_client.py" echo " ./run_tests.sh -k test_deploy_pod" echo " ./run_tests.sh -m unit" echo ""