2021-03-01 18:35:58 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
2021-02-14 14:11:46 +00:00
|
|
|
<TargetFramework>net6.0</TargetFramework>
|
2021-03-01 18:35:58 +00:00
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
<CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2021-04-26 12:00:42 +00:00
|
|
|
<PackageReference Include="AutoFixture" Version="4.17.0" />
|
2021-04-30 08:47:38 +00:00
|
|
|
<PackageReference Include="AutoFixture.AutoMoq" Version="4.17.0" />
|
2021-04-27 13:35:13 +00:00
|
|
|
<PackageReference Include="AutoFixture.Xunit2" Version="4.17.0" />
|
2022-02-09 00:32:18 +00:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="6.0.2" />
|
2021-11-08 13:55:16 +00:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
|
2022-02-21 12:01:10 +00:00
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
2021-03-01 18:35:58 +00:00
|
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
2021-03-21 02:26:51 +00:00
|
|
|
<PackageReference Include="Xunit.Priority" Version="1.1.6" />
|
2022-02-07 12:01:11 +00:00
|
|
|
<PackageReference Include="coverlet.collector" Version="3.1.2" />
|
2022-03-07 13:23:43 +00:00
|
|
|
<PackageReference Include="Moq" Version="4.17.2" />
|
2021-03-01 18:35:58 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2021-05-02 11:04:35 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<!-- Don't run tests in parallel -->
|
|
|
|
<None Update="xunit.runner.json">
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</None>
|
|
|
|
</ItemGroup>
|
|
|
|
|
2021-03-01 18:35:58 +00:00
|
|
|
<!-- Code Analyzers -->
|
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
2022-01-22 15:48:31 +00:00
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
|
|
</PackageReference>
|
2021-03-01 18:35:58 +00:00
|
|
|
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
|
2021-12-24 17:28:27 +00:00
|
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376" PrivateAssets="All" />
|
2021-03-01 18:35:58 +00:00
|
|
|
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<ProjectReference Include="../../Jellyfin.Server/Jellyfin.Server.csproj" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<EmbeddedResource Include="TestPage.html" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
</Project>
|