You want to contribute?
Then welcome to the party! 😎
I would be happy to see your patches, your feedback or maybe even some more documentation!
Here are all resources that were published so far:
Let us welcome Rohan Cragg as the first contributor to the project!
(he found a bug where broken code was generated)
@All people who keep this project active:
Thank you very much!
I released version 0.5 of the
„ADO.NET Unit Testable Repository Generator„.
In a short time the download counter reached 900. W00t!
This encouraged me to bring up an improved version. It now simplifies Unit Tests by implementing “Equals”. Additionally, the dependency to Microsoft Unity is now optional.
All resources were updated:
This walkthrough is going to show you the usage of my new T4 template called „ADO.NET Unit Testable Repository Generator“.
Table of contents:
- Step 1: Create the Entity Data Model
- Step 2: Add the Code Generation Item
- Step 3: Use the Repository
- Step 4: Use the Unit Test
- Step 5: Download the sample solution
My demo implements a small repository to manage simple text-snippeds in the database. I will start with an empty ASP.NET MVC 2 project. Any other type would work, too.
At work we are going to do a big refactoring on a ASP.NET MVC project. I learned a lot of this project. One hard lesson was: the code base is as good is the guidance of the senior coders. If you know the power of the Entity Framework, then you also know the countless possibilities to write wicked code. But I’m present at the office only for days a week. That’s why I’m planning to write some articles in the next time.