I've got a set of tests that I'm running with nunit-console. Those tests require some configuration settings. When running under .NET on Windows, I'm able to specify those configuration settings in the app.config file for the unit test assembly and nunit-console.exe finds them. When running nunit-console under mono, the configuration settings aren't found.
So for example, I have an assembly containing my NUnit test fixtures named MyCompany.MyProduct.Tests.dll with settings in the app.config for that project, which are copied into MyCompany.MyProduct.Tests.dll.config. On Windows, I run "nunit-console.exe MyCompany.MyProduct.Tests.dll" and it runs the tests, finding the config settings. On Linux (tried both Ubuntu and CentOS) with Mono 2.10.8.1, when I run "mono nunit-console.exe MyCompany.MyProduct.Tests.dll" the tests run as expected but the config settings are not found. Oddly enough, nunit under monodevelop seems to overcome this problem and finds the config, so I'm not sure what's being done differently there. Is anyone else able to get nunit tests to find their config files when running under nunit-console? Thanks, Dave
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
