Test-Driving ASP.NET MVC3 - Part 4

To view this screencast, add it to your cart and checkout. You can buy this screencast for any price, including FREE!

Click here to see the series overview

In Part 3, we left off with a really gross looking DogSpec that is really redundant and has to specify all of the properties necessary to create a valid Dog over and over again.

1 var dog = new Dog {
2     Name         = null,
3     Breed        = "Golden Retriever",
4     VetId        = 5,
5     RegisteredAt = DateTime.Now,
6     UniqueId     = Guid.NewGuid()
7 };

TDD MVC - Part 4

In this episode, we:

Resources