-
Notifications
You must be signed in to change notification settings - Fork 357
Remove Windows-Review from cross-platform tests #16113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Jakub Jareš (nohwnd)
merged 8 commits into
microsoft:main
from
nohwnd:remove-windows-review-restrictions
Jun 29, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ec1c5c1
Remove Windows-Review restriction from cross-platform tests
nohwnd 7111f82
Merge remote-tracking branch 'origin/main' into remove-windows-review…
nohwnd 908b9d2
Keep Windows-Review on AeDebugger tests
nohwnd 97c8d34
Keep Windows-Review on integration tests that need the .NET Framework…
nohwnd b174f6d
Keep Windows-Review on RunTestsWithXunitAdapter (fails on Linux)
nohwnd bd7f77c
Make tests with empty data sources fail instead of masking them
nohwnd deeb812
Re-add Windows-Review to the .NET Framework-only tests the audit missed
nohwnd 0854a6c
Remove the empty .NET Framework data source from cross-platform tests
nohwnd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
test/Microsoft.TestPlatform.Acceptance.IntegrationTests/.runsettings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,2 @@ | ||
| <RunSettings> | ||
| <MSTestV2> | ||
| <ConsiderEmptyDataSourceAsInconclusive>true</ConsiderEmptyDataSourceAsInconclusive> | ||
| </MSTestV2> | ||
| </RunSettings> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,8 +16,8 @@ namespace Microsoft.TestPlatform.AcceptanceTests; | |
| [TestClass] | ||
| public class ExecutionTests : AcceptanceTestBase | ||
| { | ||
| //TODO: It looks like the first 3 tests would be useful to multiply by all 3 test frameworks, should we make the test even more generic, or duplicate them? | ||
| [TestMethod] | ||
| // Compatibility matrix includes the .NET Framework runner/testhost, which is not available on Linux/macOS. | ||
| [TestCategory("Windows-Review")] | ||
| [MSTestCompatibilityDataSource] | ||
| public void RunMultipleTestAssemblies(RunnerInfo runnerInfo) | ||
|
Comment on lines
19
to
23
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. makes sense, and that's exactly why this one keeps |
||
|
|
@@ -35,6 +35,7 @@ public void RunMultipleTestAssemblies(RunnerInfo runnerInfo) | |
| } | ||
|
|
||
| [TestMethod] | ||
| // Compatibility matrix includes the .NET Framework runner/testhost, which is not available on Linux/macOS. | ||
| [TestCategory("Windows-Review")] | ||
| [TestHostCompatibilityDataSource] | ||
| public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations(RunnerInfo runnerInfo) | ||
|
|
@@ -52,6 +53,7 @@ public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations(Ru | |
| } | ||
|
|
||
| [TestMethod] | ||
| // Compatibility matrix includes the .NET Framework runner/testhost, which is not available on Linux/macOS. | ||
| [TestCategory("Windows-Review")] | ||
| [RunnerCompatibilityDataSource] | ||
| public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations2(RunnerInfo runnerInfo) | ||
|
|
@@ -67,9 +69,7 @@ public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations2(R | |
| } | ||
|
|
||
| [TestMethod] | ||
| [TestCategory("Windows-Review")] | ||
| [TestCategory("Smoke")] | ||
| [NetFullTargetFrameworkDataSource(inIsolation: true, inProcess: true, useVsixRunner: true)] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations3(RunnerInfo runnerInfo) | ||
| { | ||
|
|
@@ -87,7 +87,6 @@ public void RunMultipleMSTestAssembliesOnVstestConsoleAndTesthostCombinations3(R | |
| // the two respective versions together (e.g. latest xunit and latest mstest), but does using two different test | ||
| // frameworks have any added value over using 2 mstest dlls? | ||
| [TestMethod] | ||
| [NetFullTargetFrameworkDataSource(inIsolation: true, inProcess: true)] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void RunMultipleTestAssembliesWithoutTestAdapterPath(RunnerInfo runnerInfo) | ||
| { | ||
|
|
@@ -134,7 +133,6 @@ public void RunMultipleTestAssembliesInParallel(RunnerInfo runnerInfo) | |
| } | ||
|
|
||
| [TestMethod] | ||
| [NetFullTargetFrameworkDataSource(inIsolation: true, inProcess: true)] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void TestSessionTimeOutTests(RunnerInfo runnerInfo) | ||
| { | ||
|
|
@@ -156,7 +154,6 @@ public void TestSessionTimeOutTests(RunnerInfo runnerInfo) | |
| } | ||
|
|
||
| [TestMethod] | ||
| [NetFullTargetFrameworkDataSource(inIsolation: true, inProcess: true)] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void WorkingDirectoryIsSourceDirectory(RunnerInfo runnerInfo) | ||
| { | ||
|
|
@@ -173,6 +170,9 @@ public void WorkingDirectoryIsSourceDirectory(RunnerInfo runnerInfo) | |
| } | ||
|
|
||
| [TestMethod] | ||
| // Asserts the testhost-specific stack overflow message; the .NET Framework variant requires the | ||
| // .NET Framework testhost, which is only available on Windows. | ||
| [TestCategory("Windows-Review")] | ||
| [NetFullTargetFrameworkDataSource] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void StackOverflowExceptionShouldBeLoggedToConsoleAndDiagLogFile(RunnerInfo runnerInfo) | ||
|
|
@@ -198,6 +198,9 @@ public void StackOverflowExceptionShouldBeLoggedToConsoleAndDiagLogFile(RunnerIn | |
| } | ||
|
|
||
| [TestMethod] | ||
| // Asserts the testhost-specific unhandled exception message; the .NET Framework variant requires the | ||
| // .NET Framework testhost, which is only available on Windows. | ||
| [TestCategory("Windows-Review")] | ||
| [NetFullTargetFrameworkDataSource] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void UnhandleExceptionExceptionShouldBeLoggedToDiagLogFile(RunnerInfo runnerInfo) | ||
|
|
@@ -292,8 +295,7 @@ public void IncompatibleSourcesWarningShouldBeDisplayedInTheConsoleOnlyWhenRunni | |
| } | ||
|
|
||
| [TestMethod] | ||
| [TestCategory("Windows-Review")] | ||
| [NetFullTargetFrameworkDataSource] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void ExitCodeShouldReturnOneWhenTreatNoTestsAsErrorParameterSetToTrueAndNoTestMatchesFilter(RunnerInfo runnerInfo) | ||
|
nohwnd marked this conversation as resolved.
nohwnd marked this conversation as resolved.
|
||
| { | ||
| SetTestEnvironment(_testEnvironment, runnerInfo); | ||
|
|
@@ -312,8 +314,7 @@ public void ExitCodeShouldReturnOneWhenTreatNoTestsAsErrorParameterSetToTrueAndN | |
| } | ||
|
|
||
| [TestMethod] | ||
| [TestCategory("Windows-Review")] | ||
| [NetFullTargetFrameworkDataSource] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void ExitCodeShouldReturnZeroWhenTreatNoTestsAsErrorParameterSetToFalseAndNoTestMatchesFilter(RunnerInfo runnerInfo) | ||
|
nohwnd marked this conversation as resolved.
|
||
| { | ||
| SetTestEnvironment(_testEnvironment, runnerInfo); | ||
|
|
@@ -366,8 +367,7 @@ public void ExitCodeShouldNotDependOnFailTreatNoTestsAsErrorFalseValueWhenThereA | |
| } | ||
|
|
||
| [TestMethod] | ||
| [TestCategory("Windows-Review")] | ||
| [NetFullTargetFrameworkDataSource(inIsolation: true, inProcess: true)] | ||
| [NetCoreTargetFrameworkDataSource] | ||
| public void ExecuteTestsShouldSucceedWhenAtLeastOneDllFindsRuntimeProvider(RunnerInfo runnerInfo) | ||
|
nohwnd marked this conversation as resolved.
|
||
| { | ||
| SetTestEnvironment(_testEnvironment, runnerInfo); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.