btcpayserver/BTCPayServer.Tests/BTCPayServer.Tests.csproj

58 lines
2.5 KiB
XML
Raw Normal View History

<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="../Build/Common.csproj" />
2017-09-13 08:47:34 +02:00
<PropertyGroup>
<NoWarn>$(NoWarn),xUnit1031</NoWarn>
2017-09-13 08:47:34 +02:00
<IsPackable>false</IsPackable>
<UserSecretsId>AB0AC1DD-9D26-485B-9416-56A33F268117</UserSecretsId>
2020-01-16 10:03:41 +01:00
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
<PreserveCompilationContext>true</PreserveCompilationContext>
2017-09-13 08:47:34 +02:00
</PropertyGroup>
2020-01-16 10:03:41 +01:00
<!--https://devblogs.microsoft.com/aspnet/testing-asp-net-core-mvc-web-apps-in-memory/-->
<Target Name="CopyAditionalFiles" AfterTargets="Build" Condition="'$(TargetFramework)'!=''">
<ItemGroup>
<DepsFilePaths Include="$([System.IO.Path]::ChangeExtension('%(_ResolvedProjectReferencePaths.FullPath)', '.deps.json'))" />
</ItemGroup>
<Copy SourceFiles="%(DepsFilePaths.FullPath)" DestinationFolder="$(OutputPath)" Condition="Exists('%(DepsFilePaths.FullPath)')" />
</Target>
2019-10-31 07:10:00 +01:00
<PropertyGroup Condition="'$(CI_TESTS)' == 'true'">
<DefineConstants>$(DefineConstants);SHORT_TIMEOUT</DefineConstants>
2019-10-31 07:10:00 +01:00
</PropertyGroup>
2019-10-03 11:25:07 +02:00
2017-09-13 08:47:34 +02:00
<ItemGroup>
2023-11-21 06:11:17 +01:00
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
2023-11-21 06:19:11 +01:00
<PackageReference Include="Newtonsoft.Json.Schema" Version="3.0.15" />
2022-05-06 05:07:53 +02:00
<PackageReference Include="Selenium.Support" Version="4.1.1" />
<PackageReference Include="Selenium.WebDriver" Version="4.1.1" />
2023-11-21 06:11:17 +01:00
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="119.0.6045.10500" />
2023-11-21 06:19:11 +01:00
<PackageReference Include="xunit" Version="2.6.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
2018-09-09 16:04:16 +02:00
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
2017-09-13 08:47:34 +02:00
</ItemGroup>
<ItemGroup Condition="'$(Altcoins)' != 'true'">
<Compile Remove="AltcoinTests\**\*.cs"></Compile>
</ItemGroup>
<ItemGroup>
<None Update=".dockerignore">
<DependentUpon>Dockerfile</DependentUpon>
</None>
<None Update="docker-compose.altcoins.yml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="docker-compose.yml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
2018-10-28 13:46:12 +01:00
<None Update="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
2018-10-17 06:30:43 +02:00
<ItemGroup>
2019-05-24 11:42:22 +02:00
<ProjectReference Include="..\BTCPayServer.Rating\BTCPayServer.Rating.csproj" />
2018-10-17 06:30:43 +02:00
<ProjectReference Include="..\BTCPayServer\BTCPayServer.csproj" />
</ItemGroup>
2017-09-13 08:47:34 +02:00
</Project>