54 lines
2.7 KiB
XML
54 lines
2.7 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.NET.Test.Sdk" Version="17.6.0" />
|
|
<PackageReference Include="NUnit" Version="3.13.3" />
|
|
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
|
|
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" />
|
|
<PackageReference Include="coverlet.collector" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.8" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.8" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\SVSim.EmulatedEntrypoint\SVSim.EmulatedEntrypoint.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\SVSim.Bootstrap\SVSim.Bootstrap.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- BaseDataSeeder reads CSVs from the runtime "Data" folder; mirror them into the test
|
|
output so HasData seeding fires when EnsureCreated builds the SQLite schema. -->
|
|
<Content Include="..\SVSim.EmulatedEntrypoint\Data\*.csv" Link="Data\%(Filename)%(Extension)">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<!-- Tests that call SVSimTestFactory.SeedGlobalsAsync() need the prod captures available in
|
|
the test output dir. Mirror them from SVSim.Bootstrap so the same files drive both
|
|
production bootstrap and test seeding. -->
|
|
<Content Include="..\SVSim.Bootstrap\Data\prod-captures\*.json" Link="Data\prod-captures\%(Filename)%(Extension)">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<!-- Test-only fixtures live outside prod-captures so the production bootstrap glob doesn't
|
|
pick them up (a fixture-named file would win the importer's reverse-alphabetical sort
|
|
against a dated capture). Linked into the same test output dir so SeedGlobalsAsync sees
|
|
them; per-feature tests rely on the fixture, the prod-capture smoke test routes around it
|
|
via a temp dir. -->
|
|
<Content Include="..\SVSim.Bootstrap\Data\test-fixtures\*.json" Link="Data\prod-captures\%(Filename)%(Extension)">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
</Project>
|