Building a new website at work and I’m trying to learn some TDD so that it can be implemented from the beginning on the new website (old site was plain asp pages with zero testing). However, since I’m new to TDD I have no clue what some good libraries to use are. I’ve already ran into issues trying to design tests… For example one of my controllers uses Server.MapPath() and consequently is currently failing. Trying to find a solid library that has been built well. I’ve googled and found an option or two, but have no clue what people that are already using TDD are using. Since I have (want) to learn this I’d just assume learn it with a library that others are using with success.
EDIT: Sorry I am currently using NUnit to do the tests in, but I’m open to other libraries
NUnit for automated testing, Moq/RhinoMocks for mocking/stubbing, Team City for continuous integration. I personally prefer Moq, but you should give both of those a try.
To deal with ASP.NET, there are some extensions for NUnit. For example, the one this guy describes. There is already a question about NUnit and web applications here