Repository navigation
Fix DisableAppDomain default value when not running in isolation under VSTest - #6900
Conversation
…e.exe tests Co-authored-by: Youssef1313 <[email protected]>
Co-authored-by: Youssef1313 <[email protected]>
Co-authored-by: Youssef1313 <[email protected]>
Co-authored-by: Youssef1313 <[email protected]>
Co-authored-by: Youssef1313 <[email protected]>
|
Co-authored-by: Youssef1313 <[email protected]>
Fixed in 327f5c9. Changed |
|
Co-authored-by: Youssef1313 <[email protected]>
Fixed in 19a8212. Removed trailing whitespace on lines 173 and 221. |
Co-authored-by: Youssef1313 <[email protected]>
|
/backport to rel/4.0 |
|
Started backporting to rel/4.0: https://github.com/microsoft/testfx/actions/runs/19171676553 |
…r VSTest by @Copilot in #6900 (backport to rel/4.0) (#6909) Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Youssef1313 <[email protected]> Co-authored-by: Youssef Victor <[email protected]>
Co-authored-by: Jakub Jareš <[email protected]>
Plan for adding VSTest console integration tests for AppDomain scenario:
Summary
This PR addresses the issue where AppDomain should be enabled by default when running VSTest. The changes include:
Created VSTestConsoleLocator class (
test/Utilities/Automation.CLI/VSTestConsoleLocator.cs):GetConsoleRunnerPath()to locate vstest.console.exeUpdated CLITestBase.e2e.cs:
Expanded AppDomainTests.cs:
RunTests_With_VSTestConsole_DirectlyandDiscoverTests_With_VSTestConsole_Directlydotnet test)Updated MSTest.Acceptance.IntegrationTests.csproj:
The new tests will expose any issues with AppDomain configuration when running under vstest.console.exe directly (as opposed to testhost.exe), which was the original problem described in the issue.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.