Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resource for learning TDD with asp.net MVC 3 [closed]

Is it possible to do TDD on asp.net MVC 3? And if so, what are some good online resources? As far as I know, MVC 3 is the latest version that is out. But most of the tdd articles I google are for MVC 1. Even the only two books I've been able to find on TDDing in MVC are both for 1.0

Asp.net MVC Test Driven Development

Test Drive asp.net MVC

Even on the official Microsoft website the article that's an MVC TDD walkthrough is for MVC 2.0.

It's starting to make me think TDD is just not practical on asp.net MVC or that it's not heavily supported.

like image 988
Brand Avatar asked Jun 19 '12 12:06

Brand


People also ask

Which framework is needed for TDD?

The tools (or frameworks) used in TDD involve JUnit, TestNG, NUnit, etc. These are used to run test cases. Gherkin is used for writing scenarios in BDD. Cucumber, SpecFlow, etc., are some of the widely used test automation frameworks.


1 Answers

This is the best resource I know for learning TDD:

Roy Osherove - The Art of Unit Testing

After reading this and reading the following MVC3 book:

Sanderson and Freeman - Pro ASP.NET MVC3 Framework

With this you will know enough to get started with Test Driven Development in MVC3.

like image 141
Steven Avatar answered Oct 20 '22 09:10

Steven