mi-assessment/server/MiAssessment/tests/MiAssessment.Tests/MiAssessment.Tests.csproj
2026-02-03 14:25:01 +08:00

74 lines
3.9 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.2" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FsCheck.Xunit" Version="3.0.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="10.0.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\MiAssessment.Core\MiAssessment.Core.csproj" />
<ProjectReference Include="..\..\src\MiAssessment.Model\MiAssessment.Model.csproj" />
<ProjectReference Include="..\..\src\MiAssessment.Admin\MiAssessment.Admin.csproj" />
<ProjectReference Include="..\..\src\MiAssessment.Admin.Business\MiAssessment.Admin.Business.csproj" />
</ItemGroup>
<!-- Exclude broken test files that reference deleted business code -->
<ItemGroup>
<!-- Integration tests referencing deleted services -->
<Compile Remove="Integration\ApiResponseFormatTests.cs" />
<Compile Remove="Integration\AssetServiceIntegrationTests.cs" />
<Compile Remove="Integration\CollectionServiceIntegrationTests.cs" />
<Compile Remove="Integration\CouponServiceIntegrationTests.cs" />
<Compile Remove="Integration\GoodsServiceIntegrationTests.cs" />
<Compile Remove="Integration\LotteryServiceIntegrationTests.cs" />
<Compile Remove="Integration\OrderServiceIntegrationTests.cs" />
<Compile Remove="Integration\PaymentNotifyServiceIntegrationTests.cs" />
<Compile Remove="Integration\PaymentServiceIntegrationTests.cs" />
<Compile Remove="Integration\TaskServiceIntegrationTests.cs" />
<Compile Remove="Integration\WarehouseServiceIntegrationTests.cs" />
<Compile Remove="Integration\WechatPayServiceIntegrationTests.cs" />
<!-- Service tests referencing deleted services -->
<Compile Remove="Services\AuthServiceLoginRecordPropertyTests.cs" />
<Compile Remove="Services\AuthServicePropertyTests.cs" />
<Compile Remove="Services\ContentAuxiliaryFrontendPropertyTests.cs" />
<Compile Remove="Services\DashboardServicePropertyTests.cs" />
<Compile Remove="Services\DashboardServiceTests.cs" />
<Compile Remove="Services\FinanceServicePropertyTests.cs" />
<Compile Remove="Services\FinanceServiceTests.cs" />
<Compile Remove="Services\GoodsManagementFrontendPropertyTests.cs" />
<Compile Remove="Services\GoodsServicePropertyTests.cs" />
<Compile Remove="Services\GoodsServiceTests.cs" />
<Compile Remove="Services\OrderServicePropertyTests.cs" />
<Compile Remove="Services\OrderServiceTests.cs" />
<Compile Remove="Services\PermissionPropertyTests.cs" />
<Compile Remove="Services\QyLevelServiceTests.cs" />
<Compile Remove="Services\RewardServiceTests.cs" />
<Compile Remove="Services\SignConfigServiceTests.cs" />
<Compile Remove="Services\UserBusinessServicePropertyTests.cs" />
<Compile Remove="Services\UserBusinessServiceTests.cs" />
<Compile Remove="Services\UserManagementFrontendPropertyTests.cs" />
<Compile Remove="Services\UserServicePropertyTests.cs" />
<Compile Remove="Services\WechatPayServiceSignaturePropertyTests.cs" />
<Compile Remove="Services\WechatServiceTests.cs" />
</ItemGroup>
</Project>