40 lines
1008 B
Python
40 lines
1008 B
Python
"""
|
|
EU-Utility Test Suite - Comprehensive Testing Framework
|
|
========================================================
|
|
|
|
This package contains all tests for EU-Utility:
|
|
- unit/: Unit tests for individual components
|
|
- integration/: Integration tests for workflows
|
|
- ui/: UI automation tests
|
|
- performance/: Performance benchmarks
|
|
|
|
Usage:
|
|
# Run all tests
|
|
python -m pytest tests/ -v
|
|
|
|
# Run specific test category
|
|
python -m pytest tests/unit/ -v
|
|
python -m pytest tests/integration/ -v
|
|
|
|
# Run with coverage
|
|
python -m pytest tests/ --cov=core --cov-report=html
|
|
|
|
# Run performance benchmarks
|
|
python -m pytest tests/performance/ --benchmark-only
|
|
|
|
Test Structure:
|
|
- conftest.py: Shared fixtures and configuration
|
|
- test_*.py: Test modules
|
|
- fixtures/: Test data and mocks
|
|
"""
|
|
|
|
import pytest
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add project root to path
|
|
project_root = Path(__file__).parent.parent
|
|
sys.path.insert(0, str(project_root))
|
|
|
|
__version__ = "1.0.0"
|