Home > Development > Team Foundation Server Has Great Traceability Until You Need to Report On It

Team Foundation Server Has Great Traceability Until You Need to Report On It

This week I’ve been working on creating our own custom test case coverage and requirement to test case correlation matrix reports based on data in Team Foundation Server (TFS) 2010.

We’re finding TFS reasonably useful at work, particularly with its ALM single-silo approach to data storage and traceability from requirements to releases.  One thing missing out-of-the-box is traceability reporting.  Though TFS does traceability reasonably well it has rather feeble ways of actually reporting it.   The default UI does allow you to trace 1st level links, say requirements to scenarios; it doesn’t provide a way to trace 2nd level or higher links – that is the ability to trace from requirements to scenarios and then on to tasks and test cases in one query.

The other problem is that there are no test case coverage reports or any form of correlation matrix reports.

Never fear because TFS has a rather nice API for pulling data out in your own programs during which you can make your own reports.  We decided to output .CSV files for all the coverage and correlation stuff and .RTF files for the requirements report.  The latter shows a complete list of requirements hi-lighting those that have changed, are new or were deleted (within a certain time interval).

Advertisements
Categories: Development Tags:
  1. Gary Liu
    2011/08/30 at 8:40 am

    Hi,

    Can you share the .csv and RTF files? I am working on the same thing.

    Thanks,
    Gary

    Like

    • MickyD
      2011/08/30 at 10:46 pm

      hi gary,
      sadly i cant as the IP belongs to work. its not really the .csv and .rtf output files that are important here but rather how they are created.
      cheers

      Like

  2. Mat Kramer
    2012/08/21 at 10:19 pm

    Is this any better with VS 2012?

    Like

    • MickyD
      2012/08/22 at 7:51 am

      Don’t know sadly thanks Mat

      Like

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: