Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
  • Loading branch information
Youssef1313 authored Nov 15, 2025
commit af0234446fe668af963148bdab4e08f6683e6da5
Original file line number Diff line number Diff line change
Expand Up @@ -598,12 +598,12 @@ public void RunWithSolutionAndPlatformConfiguration_ShouldRespectPlatform(string

string testSolutionPath = "MultiTestProjectSolutionWithPlatforms.slnx";

// Test with x86 platform - OtherTestProject should NOT be included (no Build.0 for x86)
// Test with "NonWindows" platform - OtherTestProject should NOT be included
CommandResult resultX86 = new DotnetTestCommand(Log, disableNewOutput: false)
.WithWorkingDirectory(testInstance.Path)
.Execute(MicrosoftTestingPlatformOptions.SolutionOption.Name, testSolutionPath,
MicrosoftTestingPlatformOptions.ConfigurationOption.Name, configuration,
"--property:Platform=x86");
"--property:Platform=NonWindows");

// Validate that TestProject ran but OtherTestProject did not (not marked for build on x86)
resultX86.StdOut.Should().Contain("TestProject.dll");
Expand Down
Loading