Technorati Tags: Unit Testing,MVC,Moq,CodeSmith,Insight
As anyone that knows me knows, I use test driven development. So when I put together a Feedback page in my MVC (Model-View-Controller) site I started with my test. What should the test be?
Let’s start with the User Story : As a site user (anonymous or logged in) I want to submit [...]
Posts Tagged ‘Moq’
Unit Testing CodeSmith Insight
Saturday, May 29th, 2010 by karlz | 1 Comments
Filed under: Technology | Tags: CodeSmith, Insight, Moq, MVC, Unit Testing
Filed under: Technology | Tags: CodeSmith, Insight, Moq, MVC, Unit Testing
Testing HtmlHelper in MVC 2 RC 2
Saturday, Feb 27th, 2010 by karlz | 0 Comments
Filed under: Technology | Tags: ASP.NET, Moq, MVC, TDD, Unit Testing
Filed under: Technology | Tags: ASP.NET, Moq, MVC, TDD, Unit Testing
Technorati Tags: MVC,TDD,Mock,Moq
I strive to use TDD (Test Driven Development) so not having unit tests drives me crazy. I was so pleased to run across this post http://ox.no/posts/mocking-htmlhelper-in-aspnet-mvc-rc1-using-moq making it easy for me to unit test the Html Helper.
But then I downloaded the MVC 2 RC 2 and all my unit tests for HtmlHelper broke! [...]