Files
py-flask-imageboard/scripts/run_tests.sh
2026-01-20 21:40:46 +00:00

22 lines
570 B
Bash
Executable File

#!/bin/bash
# Test runner script for the imageboard application
set -e
echo "Running tests for imageboard application..."
# Create test instance directory
mkdir -p instance
# Activate virtual environment if it exists
if [ -f "venv/bin/activate" ]; then
source venv/bin/activate
fi
# Run any tests (currently just a basic import test)
python -c "from core.app import create_app; app = create_app(); print('Application imports successfully')"
echo "Basic import test passed!"
# Add more comprehensive tests here as they are developed
echo "All tests completed."