TDD With MVC 5 and Entity Framework and Repository pattern

This Code sample illustrates how we can use Test driven developement with MVC and Entity frame work (services)We Just need to resolve missing dependencies using nuget packagemanager, update database path in webconfig.Description Test-driven development (TDD) is a software develop

C# (533.1 KB)
4.5 Star
1,027 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Had a couple run time errors reaching the About and Instructor views?
    1 Posts | Last post January 10, 2019
    • I had problem with some of the views (as of Jan 9,2019).  They erroneously referenced the Contoso namespaces, but this project has renamed it to TDD.Web.
      i.e. for TDD.Web.Views About.cshtml, the first line reads:
      @model IEnumerable<ContosoUniversity.ViewModels.EnrollmentDateGroup> 
      replace it with:
      @model IEnumerable<TDD.Web.ViewModels.EnrollmentDateGroup>
      and the page works.
      Similarly for the Instructor/Index view.
      Otherwise, a good package to see the TDD and unit test approach.