Geeks With Blogs

News My personal blog on software development and architecture.
Martin Watts April 2010 Entries
Why can't I get 100% code coverage on a method that calls a constructor of a generic type?
Today I came across a wierd issue in a Visual Studio 2008 Code Coverage Analysis. Consider the following method: private IController GetController<T>(ICon... context) where T : IController, new() { IController controller = new T(); controller.ListeningContext = context; controller.Plugin = this; return controller; } This method is called in a unit test as follows (MenuController has an empty constructor): controller = plugin.GetController<Men... After calling this method ......

Posted On Thursday, April 15, 2010 9:19 AM

Articles on TFS Build Server / TFSBuild
I have decided to write some articles on using a TFS Build Server. During the past few years I have had the responsibility and challange of keeping one running, and I found out that on some subjects, there is very little to find on the internet. So hopefully my experiences can help others. That is, before VS 2010 build server makes everything we have learnt on TFSBuild so far redundant. ;) The first article is about selectively getting the sources you need to get the build done. You can find the ......

Posted On Thursday, April 8, 2010 7:47 AM

Copyright © Martin Watts | Powered by: