cryptic / tests /run_tests.sh
vlbandara's picture
Upload folder using huggingface_hub
eb27803 verified
#!/bin/bash
# Run all tests for the CrypticAI project
# Change to the project root directory
cd "$(dirname "$0")/.." || exit
# Setup
echo "========================================"
echo "Setting up environment..."
echo "========================================"
source venv/bin/activate || { echo "Failed to activate virtual environment. Make sure venv exists."; exit 1; }
# Run tools tests
echo -e "\n========================================"
echo "Running comprehensive tool tests..."
echo "========================================"
python tests/test_all_tools.py
# Run individual component tests
echo -e "\n========================================"
echo "Running Bitcoin Data Tool tests..."
echo "========================================"
python tests/test_bitcoin.py
echo -e "\n========================================"
echo "Running Bitcoin News Tool tests..."
echo "========================================"
python tests/test_bitcoin_news.py
echo -e "\n========================================"
echo "Running Yahoo Finance Tools tests..."
echo "========================================"
python tests/test_yahoo_tools.py
echo -e "\n========================================"
echo "All tests completed!"
echo "========================================"