In my previous post I described how to use T4 templates to customize the Entity Framework(EF) code generation in order to introduce EF testability. My test code sample showed a very simple way to inject data and test the business logic without using a physical database. However the code that injects the test data could do with a bit of automation itself.
Showing posts with label T4. Show all posts
Showing posts with label T4. Show all posts
10 March 2012
20 February 2012
Automate Entity Framework 4.x mocking using T4 templates - part 1
Every time I read about a new Entity Framework (EF) release I am hoping to find better support for mocking the physical database. I would like an in memory data provider for Entity Framework - thank you very much. It should enable seamless unit testing with a lot of benefits: fast tests, zero environment configuration, no database setup and tear down,
Subscribe to:
Posts (Atom)