开发者

Accessing Custom Configurations in NUnit class

I'm really banging my head onto this one. I 开发者_运维问答can't make the Custom Configuration to work with NUnit. It kept on failing to read the configuration file. I'm currently making a logging class.

I followed carefully this article: http://devlicio.us/blogs/derik_whittaker/archive/2006/11/13/app-config-and-custom-configuration-sections.aspx

placed the references in the Unit test class App.Config, still everything failed.

Is there some sort of a magic setting to do here?


You need to define custom configuration in correct config file, see the following reference:

http://blog.coryfoy.com/2005/08/nunit-app-config-files-its-all-about-the-nunit-file/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜