I will openly admit that I fall on the side of Test Driven Development. I have run into a situation that I would like to test, but I haven’t found a good way to do so.
I have been working in ASP.NET MVC and I would like to test that the parts of code that I am putting into the view layer (and I know that I need to keep that as minimal as possible). I am looking for an equivalent in .NET to httpunit in Java or something similar.
Actually you can use HtmlUnit in .Net too: Using HtmlUnit on .NET for Headless Browser Automation.
The article contains links to other ways of UI testing too.