- 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
24 lines
1.2 KiB
XML
24 lines
1.2 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<!-- Test Packages -->
|
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
|
|
<PackageVersion Include="xunit" Version="2.7.0" />
|
|
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" />
|
|
<PackageVersion Include="Moq" Version="4.20.70" />
|
|
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
|
|
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.2" />
|
|
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
|
|
<PackageVersion Include="System.IdentityModel.Tokens.Jwt" Version="8.0.1" />
|
|
|
|
<!-- Centralized from src/ -->
|
|
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.2" />
|
|
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.2" />
|
|
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.2" />
|
|
<PackageVersion Include="StackExchange.Redis" Version="2.8.31" />
|
|
<PackageVersion Include="Yarp.ReverseProxy" Version="2.3.0" />
|
|
</ItemGroup>
|
|
</Project>
|