Ver por etiquetas

Todas las etiquetas » MoQ (RSS)

Testing T4 templates using mock framework (MoQ)

Some time ago I wrote a post in which I talk about how you can do unit tests over your text templates using the GAX Host . In that example I used a very simple template which receives just a couple of string properties. But it becomes more complicated when you have properties which are complex types ok I know, most probably you're thinking that can resolve that just creating your own mock objects and you're right. But the thing is that you can do that in a really easiest way using a mock...
Publicado por Jose Escrich | 1 comment(s)