← Back to team overview

nunit-core team mailing list archive

[Bug 896615] [NEW] Tests can't be run in existing AppDomain

 

You have been subscribed to a public bug:

If I set Options.TestLoader.DomainUsage as DomainUsage.None and set Options.TestLoader.ProcessModel = ProcessModel.Single, test-doman-* AppDomain created otherwise, because these parameters set to Default.
It seems that problem is inside method TestLoader::MakeTestPackage in this code:

if (processModel != ProcessModel.Multiple && domainUsage == DomainUsage.Multiple
                && !package.Settings.Contains("DomainUsage"))
                package.Settings["DomainUsage"] = domainUsage;

Does the code needs to be changed to the following code?

if (processModel != ProcessModel.Multiple && domainUsage != DomainUsage.Multiple
                && !package.Settings.Contains("DomainUsage"))
                package.Settings["DomainUsage"] = domainUsage;

** Affects: nunitv2
     Importance: Undecided
         Status: New

-- 
Tests can't be run in existing AppDomain
https://bugs.launchpad.net/bugs/896615
You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2.


References