feat: implement comprehensive Well-Architected Framework and Cloud for Sovereignty compliance
- Add Well-Architected Framework implementation guide covering all 5 pillars - Create Well-Architected Terraform module (cost, operations, performance, reliability, security) - Add Cloud for Sovereignty compliance guide - Implement data residency policies and enforcement - Add operational sovereignty features (CMK, independent logging) - Configure compliance monitoring and reporting - Add budget management and cost optimization - Implement comprehensive security controls - Add backup and disaster recovery automation - Create performance optimization resources (Redis, Front Door) - Add operational excellence tools (Log Analytics, App Insights, Automation)
This commit is contained in:
@@ -18,26 +18,31 @@ tests/
|
||||
## Running Tests
|
||||
|
||||
### All Tests
|
||||
|
||||
```bash
|
||||
pnpm test
|
||||
```
|
||||
|
||||
### Unit Tests Only
|
||||
|
||||
```bash
|
||||
pnpm test -- --run unit
|
||||
```
|
||||
|
||||
### Integration Tests
|
||||
|
||||
```bash
|
||||
pnpm test -- --run integration
|
||||
```
|
||||
|
||||
### E2E Tests
|
||||
|
||||
```bash
|
||||
pnpm test -- --run e2e
|
||||
```
|
||||
|
||||
### With Coverage
|
||||
|
||||
```bash
|
||||
pnpm test -- --coverage
|
||||
```
|
||||
@@ -51,16 +56,19 @@ pnpm test -- --coverage
|
||||
## Test Types
|
||||
|
||||
### Unit Tests
|
||||
|
||||
- Service-specific tests in `services/*/tests/`
|
||||
- Test individual functions and modules
|
||||
- Mock external dependencies
|
||||
|
||||
### Integration Tests
|
||||
|
||||
- Test service interactions
|
||||
- Use test database
|
||||
- Test API endpoints
|
||||
|
||||
### E2E Tests
|
||||
|
||||
- Test complete user workflows
|
||||
- Test across multiple services
|
||||
- Test real-world scenarios
|
||||
@@ -68,11 +76,13 @@ pnpm test -- --coverage
|
||||
## Test Utilities
|
||||
|
||||
### Test Context
|
||||
|
||||
- `setupTestContext()` - Initialize all services
|
||||
- `teardownTestContext()` - Clean up services
|
||||
- `cleanupDatabase()` - Clean test data
|
||||
|
||||
### Fixtures
|
||||
|
||||
- Test data factories
|
||||
- Mock services
|
||||
- Test helpers
|
||||
@@ -88,4 +98,3 @@ pnpm test -- --coverage
|
||||
---
|
||||
|
||||
**Last Updated**: 2025-01-27
|
||||
|
||||
|
||||
Reference in New Issue
Block a user