Thanks Jose, thats great information. I agree that you have to break down testing to the smallest level and build from there. Following on from that, what is the best method for testing/debugging a T4 template? I'm basically trying to create an comprehensive set of tools for doing this sort of development.
I'm going to show my ignorance here, but is there anyway to Mock the project that the recipe is being tested on. Is that even feasible? I came across Microsoft.VSSDK.UnitTestLibrary that provides some Mocking facilities and a OleServiceProvider. Is this possible? I think that I would prefer to do something like that in some cases, rather than have an actual project zipped up as seems to be the case with the RecipeRunner.
Thanks Darren
|