vsunit

Testing against Web Configuration from Class Library

I'm storing my application settings in my web.config file and accessing them using ConfigurationManager.GetSection or ConfigurationManager.AppSettings. I've created a test to ensure that the settings I'm getting from my class are the correct settings in the web.config file, however, it's returning null values. How can I tell my unit test...

Organizing unit test within a test class

Suppose I have several unit tests in a test class ([TestClass] in VSUnit in my case). I'm trying to test just one thing in each test (doesn't mean just one Assert though). Imagine there's one test (e.g. Test_MethodA() ) that tests a method used in other tests as well. I do not want to put an assert on this method in other tests that use ...