开发者

TDD in ASP.NET MVC: where to start?

I'd like to start with TDD in ASP.NET NVC. Ge开发者_StackOverflowtting links pointing me to some ressources for absolute beginners on that matter would be helpfull. (why, when, how to write tests).

Also, some advices on how to tackle the subject are welcomed.

Thanks for helping


Phil Haack: http://haacked.com/archive/2007/12/07/tdd-and-dependency-injection-with-asp.net-mvc.aspx

CodeBetter: http://codebetter.com/blogs/jeremy.miller/archive/2006/02/01/137457.aspx

4 Guys from Rolla: https://web.archive.org/web/20210125143830/https://www.4guysfromrolla.com/articles/011905-1.aspx

etc. etc.


Check out:

http://stephenwalther.com/blog/category/9.aspx

He usually has some good stuff that is simple to grasp for beginners.


I think TDD is an involved enough subject that to start you should pick up a nice heavy book, rather than try to piece together the information from blogs. I scraped by for a bit without really studying the material, but I never really had the aha moment until I read this book: http://xunitpatterns.com/. So I would recommend that book.


Here is a walk-through of Test Driven Development with ASP.NET MVC and a basic intro Introduction to Test Driven Design (TDD). I would also suggest searching for TDD and Behaviour Driven Development (BDD) content on InfoQ and Google Lectures on YouTube.


I found the book

TDD in ASP.NET MVC: where to start?

ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution

by Emad Ibrahim to be very well-written and takes a very easy to follow approach to doing TDD using ASP.Net MVC.

I think that is easier to get started with than to pull your information from various (however brilliant) sources.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜