|
10 | 10 | <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> |
11 | 11 | <Optimize>false</Optimize> |
12 | 12 | <Tailcalls>false</Tailcalls> |
13 | | - <IsTestProject>false</IsTestProject> |
| 13 | + <UnitTestType>xunit</UnitTestType> |
| 14 | + <IsTestProject>true</IsTestProject> |
14 | 15 | <OtherFlags>$(OtherFlags) --warnon:1182 --realsig-</OtherFlags> |
15 | 16 | <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
16 | 17 | <!--Extra xUnit customizations, not required for the test suite to work, but can speed up local test runs and help with debugging.--> |
|
23 | 24 | </PropertyGroup> |
24 | 25 |
|
25 | 26 | <ItemGroup> |
26 | | - <ProjectCapability Remove="TestContainer" /> |
27 | | - </ItemGroup> |
28 | | - |
29 | | - <ItemGroup> |
| 27 | + <Content Include="xunit.runner.json"> |
| 28 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 29 | + </Content> |
30 | 30 | <Compile Include="..\scripts\scriptlib.fsx"> |
31 | 31 | <Link>scriptlib.fsx</Link> |
32 | 32 | </Compile> |
|
46 | 46 | <Compile Include="ReflectionHelper.fs" /> |
47 | 47 | <Compile Include="SurfaceArea.fs" /> |
48 | 48 | <Compile Include="XunitHelpers.fs" /> |
| 49 | + <Compile Include="XunitSetup.fs" /> |
| 50 | + <Compile Include="Tests.fs" /> |
49 | 51 | </ItemGroup> |
50 | 52 |
|
51 | | - <ItemGroup> |
52 | | - <None Include="XunitSetup.fs" /> |
53 | | - </ItemGroup> |
54 | 53 |
|
55 | 54 | <ItemGroup> |
56 | 55 | <ProjectReference Include="$(FSharpSourcesRoot)\Compiler\FSharp.Compiler.Service.fsproj" /> |
|
70 | 69 | <ProjectReference Include="$(FSharpSourcesRoot)\FSharp.Build\FSharp.Build.fsproj" /> |
71 | 70 | </ItemGroup> |
72 | 71 |
|
73 | | - |
74 | | - <ItemGroup> |
75 | | - <PackageReference Include="xunit" Version="$(XUnitVersion)" /> |
76 | | - </ItemGroup> |
77 | | - |
78 | 72 | <!-- Runtime dependencies. Beware. --> |
79 | 73 | <ItemGroup> |
80 | 74 | <PackageReference Include="Microsoft.NETCore.ILDAsm" Version="$(MicrosoftNETCoreILDAsmVersion)" /> |
|
0 commit comments