Skip to content

Commit ce5ce6f

Browse files
aaronpowellCopilot
andauthored
Refine SurrealDB hosting test coverage (#1441)
* Improve SurrealDB hosting tests Move SurrealDB coverage to hosting public API tests, remove the old functional test file, and tighten assertions around mounts, health checks, init files, and creation scripts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove unused SurrealDB test using Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fixing usings --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 392a892 commit ce5ce6f

4 files changed

Lines changed: 118 additions & 463 deletions

File tree

src/CommunityToolkit.Aspire.Hosting.SurrealDb/CommunityToolkit.Aspire.Hosting.SurrealDb.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@
1818
<PackageReference Include="SurrealDb.Net" />
1919
</ItemGroup>
2020

21+
<ItemGroup>
22+
<InternalsVisibleTo Include="CommunityToolkit.Aspire.Hosting.SurrealDb.Tests" />
23+
</ItemGroup>
24+
2125
</Project>

tests/CommunityToolkit.Aspire.Hosting.SurrealDb.Tests/CommunityToolkit.Aspire.Hosting.SurrealDb.Tests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
<RootNamespace>CommunityToolkit.Aspire.Hosting.SurrealDb.Tests</RootNamespace>
55
</PropertyGroup>
66

7-
<ItemGroup>
8-
<Compile Include="$(RepoRoot)src\CommunityToolkit.Aspire.Hosting.SurrealDb\SurrealDbContainerImageTags.cs" />
9-
</ItemGroup>
10-
117
<ItemGroup>
128
<ProjectReference Include="..\..\examples\surrealdb\CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost\CommunityToolkit.Aspire.Hosting.SurrealDb.AppHost.csproj" />
139
<ProjectReference Include="..\..\src\CommunityToolkit.Aspire.Hosting.SurrealDb\CommunityToolkit.Aspire.Hosting.SurrealDb.csproj" />

0 commit comments

Comments
 (0)