TFS has several built-in reports readily available
for the selected process template. Some of these reports are specific to
defects, and some are specific to testing while some others are common
to work items.
Bugs
Bugs are the list of defects
found during the test run or code compilation, or during the build, or
an exception during the test. All these defects can be added as work
items of type Bug
to the team project under the TFS. There are different parameters to
the work item such as the iteration, area, priority, triage,
description, title, and other additional details for the defect. Every
time the defect is modified, a history is maintained. The first time the
defect is added, the status would be active.
Whenever the defect is fixed, the developer can change the status to
resolve so that the tester can test the defect in the next deployment of
the application and change it to fixed.
All these activities are tracked, and history is maintained in the SQL
Server 2005 Analysis Services by the TFS. The report fetches the
information from the data maintained in the SQL Server and presents it
in the expected format.
Bug rates
This report gives the overall
bug count between the time period based on the selected priority,
iteration, and area. The number of bugs that are active, new,
reactivated, and resolved as fixed are all shown on this report. The
graphical view shows the count per day basis. We can change the
parameters and rerun the report. It provides the flexibility to export
and print the current report. This report is available in both process
templates in TFS. The following is the sample graph, which shows the
number of bugs in the TeamTest team project in TFS.
Bugs by priority
This report gives the
number of bugs grouped based on the priority and status. The count is
presented on a daily basis. This report can be generated based on a date
range, iteration, and area. The following screenshot shows the sample
of bugs with Priority 2. There are no defects with a different priority in the selected date range.
Bugs found without corresponding tests
This report shows the list of
defects that were published to the team project but were not part of any
test. These are the defects that could have occurred during the code
compilation, or it could be an exception that is not part of running the
test. We can log any type of error as defect to the team project. This
report gives the current state of the defect, priority, defect ID,
title, and the user who created the defect. The following image shows
the sample for Bugs Found Without Corresponding Tests report: