Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

vstest.console with AppDomain #206

Open
ritchxu opened this issue Sep 4, 2019 · 0 comments
Open

vstest.console with AppDomain #206

ritchxu opened this issue Sep 4, 2019 · 0 comments

Comments

@ritchxu
Copy link

ritchxu commented Sep 4, 2019

We have logic in our test codes that hooks up AppDomain process exit event. When running these tests with vstest.console.exe, we found out that the AppDomain was unloaded. Is there clear documentation on when vstest would create/unload new AppDomain? Is it one per test assembly, per unit test or something else?

This documentation did mention the setting of DisableAppDomain. Is it disabling creation of separate AppDomain's for running tests?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant