-
I'm new to CSLA, and also unit testing in general, yet I'm newly assigned to a project that uses CSLA and they want to now write unit tests for it, and I'm lost. The project is a ASP.NET MVC 3 (c#) application, with a csla library that has umm inline? dataportal methods. The actual data fetching...
-
trying to use MockDb. here is the code: public List < ProjectDto > Fetch() { var result = from r in ProjectTracker.DalMock. MockDb .Projects select new ProjectDto { Id = r.Id, Name = r.Name, Description = r.Description, ParentID = r.ParentID, Alias = r.Alias, CapitalizationStage = r.CapitalizationStage...
-
We really want to be able to test our business objects without hitting a database ... so I spent some time with the CSLA book and watched the 3.8 Core videos and so this concept of using the business object to invoke the DAL. I saw in the demo where Rocky is loading from an ADO DAL and a MOCK DAL. This...