-
Notifications
You must be signed in to change notification settings - Fork 289
Fix DisableAppDomain default value when not running in isolation under VSTest #6900
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
base: main
Are you sure you want to change the base?
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. |
...ntegrationTests/MSTest.Acceptance.IntegrationTests/MSTest.Acceptance.IntegrationTests.csproj
Outdated
Show resolved
Hide resolved
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]>
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.