dimanche 31 janvier 2016

Entity Framework 5 disable object mocking

My apologies in advance that I am not an EF export. My team have inherited a MVC3 project using EF5 on .NET 4.0. There are a lot of mock objects automatically generated by TT(?) template. We have multiple developers working on the project and constantly causing conflicting errors on the mock objects and we wonder if it is possible to tweak EDMX NOT to generate the mock objects? We tried to delete the test files but they seem to get generated every time we updates the EDMX.
We know that it's a good practice to automate the unit testing but we are running out of time and the budget would not allow us to spend too much time automating unit tests. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire