UnitTests.Parallelizable.csproj 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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);DEBUG_IDISPOSABLE</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. <Compile Include="..\UnitTests\DriverAssert.cs" Link="DriverAssert.cs" />
  32. </ItemGroup>
  33. <ItemGroup>
  34. <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" />
  35. <PackageReference Include="Microsoft.NET.Test.Sdk" />
  36. <PackageReference Include="Moq" />
  37. <PackageReference Include="ReportGenerator" />
  38. <PackageReference Include="TestableIO.System.IO.Abstractions.TestingHelpers" />
  39. <PackageReference Include="xunit" />
  40. <PackageReference Include="Xunit.Combinatorial" />
  41. <PackageReference Include="xunit.runner.visualstudio">
  42. <PrivateAssets>all</PrivateAssets>
  43. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  44. </PackageReference>
  45. <PackageReference Include="coverlet.collector">
  46. <PrivateAssets>all</PrivateAssets>
  47. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  48. </PackageReference>
  49. </ItemGroup>
  50. <ItemGroup>
  51. <ProjectReference Include="..\..\Terminal.Gui\Terminal.Gui.csproj">
  52. </ProjectReference>
  53. <ProjectReference Include="..\TerminalGuiFluentTesting\TerminalGuiFluentTesting.csproj" />
  54. </ItemGroup>
  55. <ItemGroup>
  56. <None Update="xunit.runner.json">
  57. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  58. </None>
  59. </ItemGroup>
  60. <ItemGroup>
  61. <Using Include="System.Drawing" />
  62. <Using Include="Terminal.Gui" />
  63. <Using Include="Xunit" />
  64. </ItemGroup>
  65. <PropertyGroup Label="FineCodeCoverage">
  66. <Enabled>
  67. False
  68. </Enabled>
  69. <Exclude>
  70. [UICatalog]*
  71. </Exclude>
  72. <Include></Include>
  73. <ExcludeByFile>
  74. <!--**/Migrations/*
  75. **/Hacks/*.cs-->
  76. </ExcludeByFile>
  77. <ExcludeByAttribute>
  78. <!--MyCustomExcludeFromCodeCoverage-->
  79. </ExcludeByAttribute>
  80. <IncludeTestAssembly>
  81. False
  82. </IncludeTestAssembly>
  83. </PropertyGroup>
  84. </Project>