Forum Discussion

ak123's avatar
ak123
New Contributor
2 months ago

Test Coverage of Requirements

Hi,
Need some assistance in creating a Dashboard that will list the % value of Requirements (Story) covered by Test Cases.

I have created three Filters:

1 - To list all stories within the Project that have and dont have test coverage.
project = "ABC" and issuetype = Story and ( issue in hasTestCoverage() or issue  not in hasTestCoverage())

2 - To list all stories within the Project that have test coverage.
project = "ABC" and issuetype = Story and issue in hasTestCoverage()

3 - To list all stories within the Project that dont have test coverage.
project = "ABC" and issuetype = Story and issue not in hasTestCoverage() 

I would like to create a Graph on the Dashboard that will display the percentage value of the Requirements with Test Coverage and percentage value of the Requirements without Test Coverage. 


Could you assist with the same.

Thanks in advance.

  • MisterB's avatar
    MisterB
    Icon for Champion Level 3 rankChampion Level 3

    There is a dashboard part called (below), that should do what you want,  I've added screen prints below:

    Create/edit your dashboard and search for "cover" or find the gadget below:

     

     

     

     

    1. Add your project
    2. Select Percentage, and click Save, and if you want to refine your criteria
    3. Choose a filter option, e.g. select a Test Cycle, etc.

    The chart will look something like this: