19 lines
413 B
Bash
19 lines
413 B
Bash
#!/bin/bash
|
|
# Run tests script
|
|
|
|
echo "Running Brief Bench tests..."
|
|
echo ""
|
|
|
|
# Install dev dependencies if needed
|
|
if ! python -c "import pytest" 2>/dev/null; then
|
|
echo "Installing dev dependencies..."
|
|
pip install -r requirements-dev.txt
|
|
fi
|
|
|
|
# Run tests
|
|
pytest -v --cov=app --cov-report=term-missing --cov-report=html
|
|
|
|
# Show coverage summary
|
|
echo ""
|
|
echo "Coverage report generated in htmlcov/index.html"
|