diff options
author | therzok <marius.ungureanu@xamarin.com> | 2016-08-09 21:09:21 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2016-08-09 21:09:21 +0300 |
commit | 87c12bde3ca0c307a9ef60b6170d030242934131 (patch) | |
tree | 8e9c28951321c43b9d17b893d7cc3990d31bd362 /main/src | |
parent | e26f27606ce07a025448b424214f8e3d8142cfa3 (diff) |
[NUnit] Don't create an appdomain for the NUnit test runner itself.
In the case the nunit.framework assembly is not referenced with localcopy=true, this means that the nunit.framework assembly would be probed by the test runner inside the test directory, and it would not find nunit.framework.dll.
By not using an appdomain, we use the one which is discovered by SupportAssemblies via XS and then it can be run.
Bug 41921 - NUnit2 and NUnit3 testing Internal Error
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs index 99cfb26219..f03e676518 100644 --- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnit3Runner/NUnitTestRunner.cs @@ -89,7 +89,7 @@ namespace NUnit3Runner TestPackage package = new TestPackage (path); package.AddSetting ("ShadowCopyFiles", false); package.AddSetting ("ProcessModel", "InProcess"); - package.AddSetting ("DomainUsage", "Single"); + package.AddSetting ("DomainUsage", "None"); return package; } |