docs: update README and add test infrastructure

- Enhance .gitignore with comprehensive Python patterns
- Improve README with better setup and testing instructions
- Add test infrastructure:
  * Test requirements file
  * Environment setup script
  * Test runner script
  * Comprehensive test suite
  * Coverage configuration
This commit is contained in:
2025-08-08 10:54:56 +02:00
parent 9e1f2128a2
commit 0e3311df8e
12 changed files with 840 additions and 14 deletions

27
setup_test_env.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# setup_test_env.sh
# Remove existing virtual environment if it exists
if [ -d "venv" ]; then
echo "Removing existing virtual environment..."
rm -rf venv
fi
# Create a virtual environment
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activate
# Upgrade pip
pip install --upgrade pip
# Install application dependencies
pip install -r requirements.txt
# Install test dependencies
pip install -r requirements-test.txt
echo "Virtual environment setup complete!"
echo "To activate the virtual environment, run:"
echo "source venv/bin/activate"