2021-03-01 13:35:58 -05:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
<CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2021-04-26 08:00:42 -04:00
|
|
|
<PackageReference Include="AutoFixture" Version="4.17.0" />
|
2021-04-30 04:47:38 -04:00
|
|
|
<PackageReference Include="AutoFixture.AutoMoq" Version="4.17.0" />
|
2021-04-27 09:35:13 -04:00
|
|
|
<PackageReference Include="AutoFixture.Xunit2" Version="4.17.0" />
|
2021-08-15 10:30:15 -04:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.9" />
|
2021-03-01 13:35:58 -05:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" />
|
2021-08-16 08:01:04 -04:00
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
2021-03-01 13:35:58 -05:00
|
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
2021-03-20 22:26:51 -04:00
|
|
|
<PackageReference Include="Xunit.Priority" Version="1.1.6" />
|
2021-07-26 08:00:45 -04:00
|
|
|
<PackageReference Include="coverlet.collector" Version="3.1.0" />
|
2021-03-01 13:35:58 -05:00
|
|
|
<PackageReference Include="Moq" Version="4.16.0" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2021-05-02 07:04:35 -04:00
|
|
|
<ItemGroup>
|
|
|
|
<!-- Don't run tests in parallel -->
|
|
|
|
<None Update="xunit.runner.json">
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
</None>
|
|
|
|
</ItemGroup>
|
|
|
|
|
2021-03-01 13:35:58 -05:00
|
|
|
<!-- Code Analyzers -->
|
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
|
|
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
|
|
|
|
<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>
|