|
21 | 21 | <LangVersion>preview</LangVersion> |
22 | 22 |
|
23 | 23 | <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> |
24 | | - <UnitTestType>nunit</UnitTestType> |
| 24 | + <UnitTestType>xunit</UnitTestType> |
25 | 25 | <IsTestProject>true</IsTestProject> |
26 | 26 | <IsPackable>true</IsPackable> |
27 | 27 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
|
38 | 38 | </PropertyGroup> |
39 | 39 |
|
40 | 40 | <ItemGroup> |
41 | | - <Compile Include="NUnitFrameworkShims.fs" /> |
| 41 | + <Compile Include="TestFrameworkHelpers.fs" /> |
42 | 42 | <Compile Include="LibraryTestFx.fs" /> |
43 | 43 | <Compile Include="FSharp.Core\PrimTypes.fs" /> |
44 | 44 | <Compile Include="FSharp.Core\ComparersRegression.fs" /> |
|
95 | 95 | <Compile Include="SurfaceArea.fs" /> |
96 | 96 | </ItemGroup> |
97 | 97 |
|
98 | | - <ItemGroup /> |
99 | | - |
100 | | - <ItemGroup Condition="'$(BUILD_IN_FSHARP_REPOSITORY)' == 'true'"> |
101 | | - <ProjectReference Include="$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj" /> |
102 | | - <PackageReference Include="FsCheck" Version="$(FsCheckVersion)" /> |
| 98 | + <ItemGroup> |
| 99 | + <Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" /> |
103 | 100 | </ItemGroup> |
104 | 101 |
|
105 | | - <ItemGroup Condition="'$(BUILD_IN_FSHARP_REPOSITORY)' != 'true'"> |
106 | | - <PackageReference Include="FSharp.Core" Version="4.6.0" /> |
107 | | - <PackageReference Include="FsCheck" Version="3.0.0-alpha4" /> |
108 | | - </ItemGroup> |
109 | 102 |
|
110 | | - <ItemGroup Condition="'$(UnitTestType)' == 'xunit'"> |
111 | | - <PackageReference Include="xunit" Version="2.4.1" PrivateAssets="All" /> |
112 | | - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" PrivateAssets="All" /> |
| 103 | + <ItemGroup> |
| 104 | + <ProjectReference Include="$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj" /> |
| 105 | + <PackageReference Include="FsCheck" Version="$(FsCheckVersion)" /> |
113 | 106 | </ItemGroup> |
114 | | - |
115 | 107 | </Project> |
0 commit comments