nunit and config files.

  • Thread starter Thread starter Peter Rilling
  • Start date Start date
P

Peter Rilling

When running my unit tests for our web project, I am having a difficult time
getting values from the config file.

When running from the web server, the config file is able to be read from
the web.config. When I run from nUnit, I get a null. I added our config
settings to the nunit-gui.exe.config, but no luck.

Am I missing something.
 
I beleive,nunit loads each of your dll's in a seperate appdomain and
not with in default appdomain.

As .config files applies in appdomain level , this doesnt works.


Cheers
Nirmal
 
Back
Top