index > Team Foundation Server - Reporting > Requirements Test History and Overview not returning any results

Requirements Test History and Overview not returning any results


I am currently trying to link a test to a requirement that I have created in a project created with the CMMI template.

I have a unit test created and I have associated it throught its attributes to the work item id, iteration, project area. These tests are run as part of a team build and the build report says that the tests all pass successfully. I can see the build report through the project portal but when I go to the "Requirements Test History and Overview" report it does not present me with any data.

I am not sure if I am linking the test to the requirement. Could someone please verify that I am doing this correctly, or if I am not point me in the right direction.

Thanks

B

bstearns

Ok, I think I got this figured out but it has lead me to a related question.

First of all to get the report to actually show that there is a linkage you have to go into the requirement it self and add a link to a test result. Then the report will show that information.

So the first question that is spawed from this is; what does the associated work items attribute of the test for? The second question is; Is there any way to add a link automatically to a work item from a test by using the associated work item attribute of the test?

Any suggestions would be appreciated.

Thanks

B

bstearns

Hi B,

I would agree that this is a little confusing. As you already figured out in order to build a relation between a work item and a test result you need to add an actual link in the Work Item to the test result (similar to how you would like other work items or changesets).

The Associated Work Items attribute is not something that is being published to the server at least in the current version. It is something that you can use just so that you can see in the code that this test case is sort of related to that work item.

There are three different ways you can create the link in the Work Item to the test result so that you can see that relationship in the Warehouse:

1. You can open an existing work item and add a link to a test result.

2. From your test result window you can right click on a test result and say create work item. This will create a new work item linked to your test result.

3. If you are thinking on an automatic way of creating new work items for new failures I think that already happens if you have your tests being run as part of a Build but if you are using other tools you can use the TFS public APIs in order to do that.

Thanks.

Federico

Federico Kolliker Frers - MSFT
reply 3

You can use google to search for other answers

 

More Articles

Datagrid row style
Quality Indicators Report
msmdsrv using 50% cpu for minutes
Issues in using reporting services we are using vs2005 and adding...
Only Team Sytem cube is visible
Print reports without preview
SubReport ReportItems
New Project -- Reports Not Working Immediately
Reporting on inforamtion in work item history?
TFS Report Error
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Using Excel pivot charts, can I filter o…
Can't find "Comments" of my ma…
Issues List is not working
What's the difference between TfsReportD…
Not all work items are displayed.
Error Generating model for Olap Data Sou…
Hoe to create an hyperlink column
Trouble with VSTS / Sharepoint remoting …
Report Checked Out Items and Changed Items
Can't get access to reports if the data …
How to create a new report and include i…
Where are the Models?
Filter on #current work items
How do I 'hide' a deleted item so it doe…
How do i modify the filter on a report

Hot Articles

TFS reporting
Nothing happens when pressing the Report…
How to accss Symptom and StepsToReproduc…
TFS Analysys Services service stops all …
Issues with dimension after following wa…
Source Control Reporting
Reporting on Plain Text Fields in Work I…
Hoe to create an hyperlink column
How "State Change Count" Measu…
Can't find links between Work item and t…
Setting for URL in Reporting services
How the change in the data of Cube will …
TFS Project & Report Server ERrors
is there any where, where i can get how …
Failed to generate reports

Recommend Articles

Scenarios With No Tasks
Workitem trends and filters
SQL SP1 killed some reports
TF53010 An unexpected exception occured …
How to connect to Database?
The synchronization issue of the reporting
Unable to access any of the reports.
TFS Report Error
report of links between work items - doe…
date current state was set
Report server error
Problem with WI's and reportable="d…
Improper Display in ReportViewer
URL for the 50 standard TFS reports
Projects are missing in reporting server