UnitTests.Parallelizable.csproj 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <!-- Version numbers are automatically updated by gitversion when a release is released -->
  4. <!-- In the source tree the version will always be 2.0 for all projects. -->
  5. <!-- Do not modify these. -->
  6. <AssemblyVersion>2.0</AssemblyVersion>
  7. <FileVersion>2.0</FileVersion>
  8. <Version>2.0</Version>
  9. <InformationalVersion>2.0</InformationalVersion>
  10. </PropertyGroup>
  11. <PropertyGroup>
  12. <IsPackable>false</IsPackable>
  13. <UseDataCollector />
  14. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  15. <DefineTrace>true</DefineTrace>
  16. <DebugType>portable</DebugType>
  17. <DefineConstants>$(DefineConstants);JETBRAINS_ANNOTATIONS;CONTRACTS_FULL</DefineConstants>
  18. <ImplicitUsings>enable</ImplicitUsings>
  19. <NoLogo>true</NoLogo>
  20. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  21. </PropertyGroup>
  22. <PropertyGroup Condition="'$(Configuration)'=='Debug'">
  23. <DefineDebug>true</DefineDebug>
  24. <DefineConstants>$(DefineConstants)</DefineConstants>
  25. </PropertyGroup>
  26. <PropertyGroup Condition="'$(Configuration)'=='Release'">
  27. <Optimize>true</Optimize>
  28. </PropertyGroup>
  29. <ItemGroup>
  30. <Compile Include="..\UnitTests\TestsAllViews.cs" Link="TestsAllViews.cs" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
  34. <PackageReference Include="Microsoft.NET.Test.Sdk" />
  35. <PackageReference Include="Moq" />
  36. <PackageReference Include="ReportGenerator" />
  37. <PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" />
  38. <PackageReference Include="xunit" />
  39. <PackageReference Include="Xunit.Combinatorial" />
  40. <PackageReference Include="xunit.runner.visualstudio">
  41. <PrivateAssets>all</PrivateAssets>
  42. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  43. </PackageReference>
  44. <PackageReference Include="coverlet.collector">
  45. <PrivateAssets>all</PrivateAssets>
  46. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  47. </PackageReference>
  48. </ItemGroup>
  49. <ItemGroup>
  50. <ProjectReference Include="..\..\Terminal.Gui\Terminal.Gui.csproj">
  51. </ProjectReference>
  52. </ItemGroup>
  53. <ItemGroup>
  54. <None Update="xunit.runner.json">
  55. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  56. </None>
  57. </ItemGroup>
  58. <ItemGroup>
  59. <Using Include="System.Drawing" />
  60. <Using Include="Terminal.Gui" />
  61. <Using Include="Xunit" />
  62. </ItemGroup>
  63. <PropertyGroup Label="FineCodeCoverage">
  64. <Enabled>
  65. False
  66. </Enabled>
  67. <Exclude>
  68. [UICatalog]*
  69. </Exclude>
  70. <Include></Include>
  71. <ExcludeByFile>
  72. <!--**/Migrations/*
  73. **/Hacks/*.cs-->
  74. </ExcludeByFile>
  75. <ExcludeByAttribute>
  76. <!--MyCustomExcludeFromCodeCoverage-->
  77. </ExcludeByAttribute>
  78. <IncludeTestAssembly>
  79. False
  80. </IncludeTestAssembly>
  81. </PropertyGroup>
  82. </Project>