Files
PyGuardian/pytest.ini
Andrey K. Choi 983c557a35
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/tag Build encountered an error
feat: Add comprehensive testing suite and fix CI/CD pipeline
🧪 Testing Infrastructure:
- Unit tests for authentication system with JWT validation
- Integration tests for API endpoints and cluster management
- End-to-end tests for complete workflows and performance
- Test runner script with pytest configuration
- pytest.ini with proper markers and settings

📚 Documentation:
- mkdocs.yml configuration for GitHub Pages deployment
- Professional documentation structure with Material theme
- Navigation for installation, architecture, and examples

�� CI/CD Pipeline Improvements:
- Fixed .drone.yml with proper test execution stages
- Added unit, integration, and e2e test steps
- Security scanning with Bandit and Safety
- Docker multi-stage builds for controller/agent
- Documentation deployment to GitHub Pages
- Performance testing and coverage reporting

 Test Coverage:
- Authentication system: JWT tokens, HMAC signatures, encryption
- Database operations: agent credentials, token management
- API integration: endpoints, middleware, WebSocket
- E2E workflows: registration, security incidents, monitoring
- Performance benchmarks: concurrent auth, API throughput

🛡️ Quality Assurance:
- Code linting with flake8, black, isort
- Security vulnerability scanning
- Container image security checks with Trivy
- Dependency safety verification
- Test coverage reporting with pytest-cov
2025-11-25 21:18:25 +09:00

25 lines
516 B
INI

[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
markers =
unit: Unit tests
integration: Integration tests
e2e: End-to-end tests
slow: Slow tests
auth: Authentication tests
api: API tests
cluster: Cluster management tests
security: Security tests
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning