Add unit tests for KubernetesCluster, Tenant, ServiceInstance, and RegisterClusterHandler
Some checks failed
Build EntKube / build (push) Failing after 27s
Package Helm Chart / lint (push) Failing after 36s
Package Helm Chart / package (push) Has been skipped

- Implement tests for KubernetesCluster including registration, connectivity status, and error handling.
- Create tests for Tenant creation, member management, and status changes.
- Add tests for ServiceInstance provisioning and state management.
- Introduce RegisterClusterHandler tests to validate registration requests and error scenarios.
- Set up project files for new test projects with necessary dependencies.
This commit is contained in:
Nils Blomgren
2026-05-05 11:44:36 +02:00
parent 461fa36a46
commit a96dd33039
203 changed files with 2876 additions and 553 deletions

View File

@@ -1,4 +1,14 @@
<Solution>
<Project Path="EntKube/EntKube.Client/EntKube.Client.csproj" Id="73e36587-8940-4269-adcc-bab1e068ed1e" />
<Project Path="EntKube/EntKube/EntKube.csproj" />
<!-- Source Projects -->
<Project Path="src/EntKube.SharedKernel/EntKube.SharedKernel.csproj" />
<Project Path="src/EntKube.Identity/EntKube.Identity.csproj" />
<Project Path="src/EntKube.Clusters/EntKube.Clusters.csproj" />
<Project Path="src/EntKube.Provisioning/EntKube.Provisioning.csproj" />
<Project Path="src/EntKube.Web/EntKube.Web.csproj" />
<Project Path="src/EntKube.Web.Client/EntKube.Web.Client.csproj" />
<!-- Test Projects -->
<Project Path="tests/EntKube.Identity.Tests/EntKube.Identity.Tests.csproj" />
<Project Path="tests/EntKube.Clusters.Tests/EntKube.Clusters.Tests.csproj" />
<Project Path="tests/EntKube.Provisioning.Tests/EntKube.Provisioning.Tests.csproj" />
<Project Path="tests/EntKube.Web.Tests/EntKube.Web.Tests.csproj" />
</Solution>