Questions tagged [vsunit]
2 questions
3
votes
3 answers
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…

trendl
- 1,139
- 1
- 10
- 17
2
votes
3 answers
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…

Jason N. Gaylord
- 7,910
- 15
- 56
- 95