# Install python testing tools
sudo apt update
sudo apt install python3-pytest python3-pytest-cov
# Verify installation
pytest --version
# Navigate to project
cd /mnt/h/cursor/bbdrop
# Run all tests
pytest tests/
# Run with coverage (if pytest-cov installed)
pytest --cov=src tests/
# Run specific test files
pytest tests/unit/test_config_validation.py
pytest tests/integration/test_swarm_initialization.py
You need to install python3-venv first:
# Install venv support
sudo apt install python3.12-venv python3-full
# Then create venv
python3 -m venv ~/bbdrop-venv
source ~/bbdrop-venv/bin/activate
pip install -r tests/requirements.txt
# Install pipx
sudo apt install pipx
# Install pytest with pipx
pipx install pytest
pipx inject pytest pytest-cov pytest-mock
# Run tests
cd /mnt/h/cursor/bbdrop
pytest tests/