Hi Lior,

This is only possible if you do it yourself in your tests. As you can
imagine, it would be chaos if tests were allowed to change the overall
NUnit environment.

Allowing selected tests to run in their own AppDomain using an
attribute is certainly possible as a feature, but would have to be
prioritized. If you decide to request it, please address it to the 3.0
project at http://launcpad.net/nunit-3.0 since we won't be adding
significant features to NUnit 2.6.

Charlie

On Tue, Mar 6, 2012 at 5:10 AM, liortal53 <liorta...@gmail.com> wrote:
> Hello all,
>
> I am trying to create a few test methods that will verify whether
> certain assemblies have been loaded (or NOT loaded into memory after
> my App's initialization).
>
> This seems to work on its own, however when i run all my tests (which
> are contained in a single assembly), the assemblies i am testing if
> loaded or not are loaded beforehand by other tests, and remain in
> memory (in the AppDomain that is created by the test runner).
>
> Is there any easy way to avoid this ? (without creating my own
> AppDomain for every test, etc).
>
> What i would like is to assure that before running any test, the
> AppDomain that is currently loaded will be unloaded, or in short to
> create an AppDomain per test method (or per methods that i will
> specify).
>
> Is this possible?
>
> Thanks
> Lior
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Seattle area Alt.Net" group.
> To post to this group, send email to altnetseattle@googlegroups.com.
> To unsubscribe from this group, send email to 
> altnetseattle+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/altnetseattle?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Seattle area Alt.Net" group.
To post to this group, send email to altnetseattle@googlegroups.com.
To unsubscribe from this group, send email to 
altnetseattle+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/altnetseattle?hl=en.

Reply via email to