summaryrefslogtreecommitdiff
path: root/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props
diff options
context:
space:
mode:
Diffstat (limited to '.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props')
-rwxr-xr-x.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props48
1 files changed, 48 insertions, 0 deletions
diff --git a/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props b/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props
new file mode 100755
index 0000000000..fc7c90d7e0
--- /dev/null
+++ b/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19577.5/tools/Tests.props
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
+<Project>
+
+ <PropertyGroup Condition="'$(IsPerformanceTestProject)' == ''">
+ <IsPerformanceTestProject>false</IsPerformanceTestProject>
+ <IsPerformanceTestProject Condition="$(MSBuildProjectName.EndsWith('.PerformanceTests'))">true</IsPerformanceTestProject>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(IsIntegrationTestProject)' == ''">
+ <IsIntegrationTestProject>false</IsIntegrationTestProject>
+ <IsIntegrationTestProject Condition="$(MSBuildProjectName.EndsWith('.IntegrationTests'))">true</IsIntegrationTestProject>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(IsUnitTestProject)' == ''">
+ <IsUnitTestProject>false</IsUnitTestProject>
+ <IsUnitTestProject Condition="$(MSBuildProjectName.EndsWith('.UnitTests')) or $(MSBuildProjectName.EndsWith('.Tests'))">true</IsUnitTestProject>
+ </PropertyGroup>
+
+ <PropertyGroup>
+ <IsTestProject>false</IsTestProject>
+ <IsTestProject Condition="'$(IsUnitTestProject)' == 'true' or '$(IsIntegrationTestProject)' == 'true' or '$(IsPerformanceTestProject)' == 'true'">true</IsTestProject>
+
+ <!-- Disable building Integration Test projects in LUT. -->
+ <BuildForLiveUnitTesting Condition="'$(BuildForLiveUnitTesting)' == '' and '$(IsIntegrationTestProject)' == 'true'">false</BuildForLiveUnitTesting>
+ </PropertyGroup>
+
+ <ItemGroup Condition="'$(IsTestProject)' == 'true'">
+ <!-- VS TestExplorer uses this to identify a test project -->
+ <Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
+
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkVersion)" IsImplicitlyDefined="true" />
+ </ItemGroup>
+
+ <PropertyGroup Condition="'$(IsTestProject)' == 'true'">
+ <!-- Treat test assemblies as non-shipping (do not publish or sign them). -->
+ <IsShipping Condition="'$(IsShipping)' == ''">false</IsShipping>
+
+ <!-- Default test runner -->
+ <TestRunnerName Condition="'$(UsingToolXUnit)' == 'true'">XUnit</TestRunnerName>
+
+ <!-- exclude test projects from source-build by default -->
+ <ExcludeFromSourceBuild Condition="'$(ExcludeFromSourceBuild)' == ''">true</ExcludeFromSourceBuild>
+ </PropertyGroup>
+
+ <!-- Import specialized props files of supported test runners -->
+ <Import Project="$(MSBuildThisFileDirectory)$(TestRunnerName)\$(TestRunnerName).props" Condition="'$(TestRunnerName)' != '' and Exists('$(MSBuildThisFileDirectory)$(TestRunnerName)\$(TestRunnerName).props')"/>
+</Project>