Testing a Cake Addin
In my last post I created a simple Cake Addin that was for replacing appSettings in a app/web.config. As promised, one of the other aspects of a creating a cake adding will be writing tests. So let’s cover how you can get start testing a Cake addin. ICakeContext Since we are creating an extension method on the ICakeContext, we need an implementation we can use to test. One solution to this is to create a fake. Ultimately what you need to do is implement the aspects of the ICakeContext you use within your extension method. In my example, the only… Read More »Testing a Cake Addin