mirror of
https://github.com/awslabs/amazon-bedrock-agentcore-samples.git
synced 2025-09-08 20:50:46 +00:00
- Remove unused root .env and .env.example files (not referenced by any code) - Update configuration.md with comprehensive config file documentation - Add configuration overview table with setup instructions and auto-generation info - Consolidate specialized-agents.md content into system-components.md - Update system-components.md with complete AgentCore architecture - Add detailed sections for AgentCore Runtime, Gateway, and Memory primitives - Remove cli-reference.md (excessive documentation for limited use) - Update README.md to reference configuration guide in setup section - Clean up documentation links and organization The documentation now provides a clear, consolidated view of the system architecture and configuration with proper cross-references and setup guidance.
784 B
784 B
Development
Running Tests
The SRE Agent includes comprehensive test coverage to ensure reliability:
# Run all tests
pytest
# Run tests with coverage report
pytest --cov=sre_agent --cov-report=html
open htmlcov/index.html # View coverage report
# Run specific test categories
pytest tests/unit/ # Fast unit tests
pytest tests/integration/ # Integration tests with mocked APIs
pytest tests/e2e/ # End-to-end tests with demo backend
# Run tests in parallel for speed
pytest -n auto
# Run with verbose output for debugging
pytest -vv -s
Code Quality
Maintain code quality using automated tools:
# Check type hints with mypy
mypy sre_agent/
# Lint code with ruff
ruff check sre_agent/
# Run all quality checks
make quality