locked
Extending Team foundation server. RRS feed

  • Question

  • Hi Guys,

    I am in need to extend Team Foundation server.I tried different approaches but failed to get all required information from TFS.

          1) I used Odata from fetching data from TFS server model, but some data like  iteration is not directly available and code coverage, loc, unit test data etc can't be accessed using  this service.

         2) I tried using TFS SDK for java, but services like ITestManagementService  is not available through this SDK and build information like coverage is not accessible for me.

         Can any body suggest any method for accessing build information like Coverage, LOC, Test Case passed/failed, static analysis result etc from TFS.

    Wednesday, June 12, 2013 6:59 AM

Answers

  • Code coverage data is pushed to the warehouse for .NET builds (but not Java ones).  LOC and code churn is available for all source in the warehouse. Test case pass/fail data is also available in the warehouse for many build types (.NET, Java etc).  I'm not sure that we publish summaries of static code analysis data anywhere.

    Perhaps if you want to describe what you are trying to do in more detail we might be able to help. I'm wondering if you may want to customize the build process used to ensure that data is being output by the build of the metrics that you want to collect, in the format that you want them to the destination of your choice?

    Martin.


    http://www.woodwardweb.com

    Wednesday, June 12, 2013 8:28 AM

All replies

  • Code coverage data is pushed to the warehouse for .NET builds (but not Java ones).  LOC and code churn is available for all source in the warehouse. Test case pass/fail data is also available in the warehouse for many build types (.NET, Java etc).  I'm not sure that we publish summaries of static code analysis data anywhere.

    Perhaps if you want to describe what you are trying to do in more detail we might be able to help. I'm wondering if you may want to customize the build process used to ensure that data is being output by the build of the metrics that you want to collect, in the format that you want them to the destination of your choice?

    Martin.


    http://www.woodwardweb.com

    Wednesday, June 12, 2013 8:28 AM
  • Hi Martin, 

              Thank you for your very good support.

      I will explain our requirement.

              We are planning to generate metrics using data from TFS, we need almost all data which is available inside TFS and additionally we need some static analysis data and other reports generated by tools configured as part of build.

               Data we are expecting from TFS include.

              Data about Project Collection, Contributors, Iteration, Work Item, Work Item history, Data inside SCM, Build data, Build History, Test data, Coverage data, Static analysis data, Code quality etc...

            We want detailed data about all individual elements inside ALM as linked data which will help in generating metrics.

           I need help in deciding the way I want to follow to get all this data inside TFS; as OData as well as client object model provide very restricted details about the project.

          We are planning to use SSRS as well but not having any clear idea whether this will provide all data which we really required. 

          How can we access data inside data warehouse provided by TFS ?

     Sarath S Kumar.

    Thursday, June 13, 2013 7:04 AM
  • Hopefully this page will help you get started in understanding the TFS Data Warehouse articecture:

    http://msdn.microsoft.com/en-us/library/vstudio/ms244687.aspx

    All the best,

    Martin.


    http://www.woodwardweb.com

    Thursday, June 13, 2013 7:55 AM