work-flow/tests/Workflow.Tests/Workflow.Tests.csproj
2026-05-17 22:46:19 +08:00

30 lines
1.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="*" />
<PackageReference Include="xunit" Version="*" />
<PackageReference Include="xunit.runner.visualstudio" Version="*" />
<PackageReference Include="FluentAssertions" Version="*" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="*" />
<PackageReference Include="Moq" Version="*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Workflow.Domain\Workflow.Domain.csproj" />
<ProjectReference Include="..\..\src\Workflow.Infrastructure\Workflow.Infrastructure.csproj" />
<ProjectReference Include="..\..\src\Workflow.Application\Workflow.Application.csproj" />
</ItemGroup>
<!-- Exclude tests that depend on not-yet-implemented layers -->
<ItemGroup>
<Compile Remove="Form\*.cs" />
<Compile Remove="Handlers\*.cs" />
</ItemGroup>
</Project>