|
6 | 6 | <ReleaseVersion>0.0.0</ReleaseVersion>
|
7 | 7 | <LangVersion>12</LangVersion>
|
8 | 8 | </PropertyGroup>
|
| 9 | + |
9 | 10 | <Import Project="../Common/SignAssembly.props" />
|
10 | 11 |
|
11 | 12 | <ItemGroup>
|
12 | 13 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
|
13 |
| - <PackageReference Include="MSTest.TestAdapter" Version="2.2.10" /> |
14 |
| - <PackageReference Include="MSTest.TestFramework" Version="2.2.10" /> |
15 |
| - <PackageReference Include="NUnit3TestAdapter" Version="4.5.0" /> |
16 |
| - <PackageReference Include="xunit" Version="2.9.2" /> |
17 |
| - <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" /> |
| 14 | + |
| 15 | + <!-- MSTest --> |
| 16 | + <PackageReference Include="MSTest.TestAdapter" Version="2.2.10" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 17 | + <PackageReference Include="MSTest.TestFramework" Version="2.2.10" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 18 | + |
| 19 | + <!-- NUnit --> |
| 20 | + <PackageReference Include="NUnit3TestAdapter" Version="4.5.0" Condition="'$(TEST_MODE)' == 'nunit'" /> |
| 21 | + |
| 22 | + <!-- xUnit --> |
| 23 | + <PackageReference Include="xunit" Version="2.9.2" Condition="'$(TEST_MODE)' == 'xunit'" /> |
| 24 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" Condition="'$(TEST_MODE)' == 'xunit'" /> |
| 25 | + |
| 26 | + <!-- xUnit.v3 --> |
| 27 | + <PackageReference Include="xunit.v3" Version="1.0.1" Condition="'$(TEST_MODE)' == 'xunit.v3'" /> |
| 28 | + <PackageReference Include="xunit.runner.visualstudio" Version="3.0.1" Condition="'$(TEST_MODE)' == 'xunit.v3'" /> |
18 | 29 | </ItemGroup>
|
19 | 30 |
|
20 | 31 | <ItemGroup>
|
21 | 32 | <ProjectReference Include="..\Playwright\Playwright.csproj" />
|
22 |
| - <ProjectReference Include="..\Playwright.MSTest\Playwright.MSTest.csproj" /> |
23 |
| - <ProjectReference Include="..\Playwright.NUnit\Playwright.NUnit.csproj" /> |
24 |
| - <ProjectReference Include="..\Playwright.Xunit\Playwright.Xunit.csproj" /> |
| 33 | + <ProjectReference Include="..\Playwright.MSTest\Playwright.MSTest.csproj" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 34 | + <ProjectReference Include="..\Playwright.NUnit\Playwright.NUnit.csproj" Condition="'$(TEST_MODE)' == 'nunit'" /> |
| 35 | + <ProjectReference Include="..\Playwright.Xunit\Playwright.Xunit.csproj" Condition="'$(TEST_MODE)' == 'xunit'" /> |
| 36 | + <ProjectReference Include="..\Playwright.Xunit.v3\Playwright.Xunit.v3.csproj" Condition="'$(TEST_MODE)' == 'xunit.v3'" /> |
25 | 37 | </ItemGroup>
|
26 | 38 | </Project>
|
0 commit comments