fengling-gateway/tests/YarpGateway.Tests
movingsam 9b77169b80 test: add end-to-end integration tests (IMPL-12)
- TestFixture: Base test infrastructure with WebApplicationFactory
- K8sDiscoveryTests: K8s Service Label discovery flow tests
- ConfigConfirmationTests: Pending config confirmation flow tests
- MultiTenantRoutingTests: Tenant-specific vs default destination routing tests
- ConfigReloadTests: Gateway hot-reload via NOTIFY mechanism tests
- TestData: Mock data for K8s services, JWT tokens, database seeding

Tests cover:
1. K8s Service discovery with valid labels
2. Config confirmation -> DB write -> NOTIFY
3. Multi-tenant routing (dedicated vs default destination)
4. Gateway config hot-reload without restart
2026-03-08 10:53:19 +08:00
..
Integration test: add end-to-end integration tests (IMPL-12) 2026-03-08 10:53:19 +08:00
Unit IMPL-11: 更新 TenantRoutingMiddleware 适配新 Transform 2026-03-08 01:20:20 +08:00
YarpGateway.Tests.csproj test: add end-to-end integration tests (IMPL-12) 2026-03-08 10:53:19 +08:00