Files
OpenNest/OpenNest.Server.Tests/OpenNest.Server.Tests.csproj
T
ajandClaude Sonnet 5.5 1772eb04e0 fix(ci): expect a blank job number on migrated legacy nests
The container smoke compares migrated legacy records field for field, so
the Server image workflow failed once records gained jobNumber. Add a
unit test that checks the fixture lists every record field, which catches
the next new field without Docker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-03 15:17:02 -05:00

40 lines
1.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.11" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.5.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OpenNest.Server\OpenNest.Server.csproj" />
<ProjectReference Include="..\OpenNest.Data\OpenNest.Data.csproj" />
<!-- IO only writes/reads synthetic .nest archives in tests; the server never references it. -->
<ProjectReference Include="..\OpenNest.IO\OpenNest.IO.csproj" />
<!-- Server nesting end to end: the worker solves a job queued through the in-memory server. -->
<ProjectReference Include="..\OpenNest.Server.Worker\OpenNest.Server.Worker.csproj" />
<!-- The MCP nest server tools end to end. Aliased: its top-level Program would clash with the server's. -->
<ProjectReference Include="..\OpenNest.Mcp\OpenNest.Mcp.csproj" Aliases="mcp" />
</ItemGroup>
<ItemGroup>
<!-- LegacyFixtureTests reads the container smoke's expected legacy metadata. -->
<None Include="..\scripts\Server.Tests\legacy_fixture.py" Link="legacy_fixture.py" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>