2024-06-27 23:26:30 -05:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2025-05-19 15:14:50 -05:00
|
|
|
<TargetFramework>net9.0</TargetFramework>
|
2024-06-27 23:26:30 -05:00
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
|
<IsTestProject>true</IsTestProject>
|
2024-07-18 23:46:55 -05:00
|
|
|
<NoWarn>$(NoWarn);IDE0039</NoWarn>
|
2024-06-27 23:26:30 -05:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2024-11-19 14:10:36 -06:00
|
|
|
<PackageReference Include="FluentAssertions" Version="6.12.2" />
|
2024-06-27 23:26:30 -05:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
2024-11-19 14:10:36 -06:00
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
2024-07-01 23:59:24 -05:00
|
|
|
<PackageReference Include="RichardSzalay.MockHttp" Version="7.0.0" />
|
2024-07-03 00:11:48 -05:00
|
|
|
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
2024-06-27 23:26:30 -05:00
|
|
|
<PackageReference Include="SystemTextJson.JsonDiffPatch.Xunit" Version="2.0.0" />
|
2024-11-19 14:10:36 -06:00
|
|
|
<PackageReference Include="xunit" Version="2.9.2" />
|
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
|
|
|
|
|
<PackageReference Include="coverlet.collector" Version="6.0.2">
|
2024-06-27 23:26:30 -05:00
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
2024-11-19 14:10:36 -06:00
|
|
|
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
|
2024-06-27 23:26:30 -05:00
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<CollectCoverage>true</CollectCoverage>
|
|
|
|
|
<CoverletOutput>./TestResults/coverage/</CoverletOutput>
|
|
|
|
|
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
|
|
|
|
|
<Include>[AnthropicClient]*</Include>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<Target Name="GenerateHtmlCoverageReport" AfterTargets="GenerateCoverageResultAfterTest">
|
|
|
|
|
<Exec Command="reportgenerator -reports:./TestResults/coverage/*.xml -targetdir:./TestResults/coverage/report/ -reporttypes:Html_Dark" />
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Using Include="Xunit" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\..\src\AnthropicClient\AnthropicClient.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="appsettings.Test.json">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
2025-05-19 15:14:50 -05:00
|
|
|
|
2024-07-19 21:31:49 -05:00
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="Files/**">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
2024-06-27 23:26:30 -05:00
|
|
|
|
|
|
|
|
</Project>
|