|
9 | 9 | <Import Project="../Common/SignAssembly.props" />
|
10 | 10 |
|
11 | 11 | <ItemGroup>
|
12 |
| - <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" /> |
| 12 | + <ProjectReference Include="..\Playwright\Playwright.csproj" /> |
| 13 | + |
| 14 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> |
| 15 | + |
| 16 | + <!-- MSTest --> |
| 17 | + <ProjectReference Include="..\Playwright.MSTest\Playwright.MSTest.csproj" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 18 | + <PackageReference Include="MSTest.TestAdapter" Version="2.2.10" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 19 | + <PackageReference Include="MSTest.TestFramework" Version="2.2.10" Condition="'$(TEST_MODE)' == 'mstest'" /> |
| 20 | + |
| 21 | + <!-- NUnit --> |
| 22 | + <ProjectReference Include="..\Playwright.NUnit\Playwright.NUnit.csproj" Condition="'$(TEST_MODE)' == 'nunit'" /> |
| 23 | + <PackageReference Include="NUnit3TestAdapter" Version="4.5.0" Condition="'$(TEST_MODE)' == 'nunit'" /> |
| 24 | + |
| 25 | + <!-- xUnit --> |
| 26 | + <ProjectReference Include="..\Playwright.Xunit\Playwright.Xunit.csproj" Condition="'$(TEST_MODE)' == 'xunit'" /> |
| 27 | + <PackageReference Include="xunit" Version="2.9.2" Condition="'$(TEST_MODE)' == 'xunit'" /> |
| 28 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" Condition="'$(TEST_MODE)' == 'xunit'" /> |
18 | 29 | </ItemGroup>
|
19 | 30 |
|
20 | 31 | <ItemGroup>
|
21 |
| - <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" /> |
| 32 | + <Compile Remove="**/*.cs" /> |
| 33 | + <Compile Include="$(PWTEST_TEST_DIR)/*.cs" /> |
25 | 34 | </ItemGroup>
|
26 | 35 | </Project>
|
0 commit comments