Creating Fake or Dummy builds in TFS 2008


In TFS 2005, we were able to easily create a fake or dummy Team build definition using the Team Build APIs. The primary purpose this was used was for getting intermediate test results into the Team System Warehouse and from there on to the Cube, via the publish feature. And when you hit "Publish" you always needed a build definition to do it.

Well in TFS 2008, the same need exists. The only problem is that the Object model was changed and so one has to write against the new Object Model. There is a neat blog post on this by "Jason Prickett" at the following URL:

http://blogs.msdn.com/jpricket/archive/2007/07/06/creating-fake-builds-in-orcas-with-ibuilddefinition-createmanualbuild.aspx 

Using this you can create a Fake build and then publish your test results which include the following:

  1. Test Pass/Fail type of results
  2. Test coverage results for your test runs.
Skip to main content