You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Requirement has tests and its "UNCOVERED"






Multiple examples of Coverage




Test

Test status

Calculated coverage status

`-

-

No Tests cover the issue.



Requirement has tests and its "Ok"

Test

Test status

Calculated coverage status

1

PASS

OK

All Tests are passed

(all contribute to the OK status of the requirement)

2

PASS

3

PASS





Requirement has tests and its  "NOT RUN"



Test

Test status

Calculated coverage status

1

PASS

NOT RUN

One of the Tests (3) is TODO which is mapped to NOT RUN, that has higher ranking than OK.

2

PASS

3

TODO

Requirement has tests and its   NOK



Test

Test status

Calculated coverage status

1

PASS

NOK

One of the Tests (3) is FAIL, which maps to NOK, that higher ranking than OK (of the mapped PASS tests)

2

PASS

3

FAIL

Sub-Requirement NOK



Test

Test status

Calculated coverage status

1

PASS

NOK

One of the Tests (3b) is FAIL, thus subReq2 will be considered as NOK. Since it is NOK, then the parent requirement will be NOK.

2a

(subReq1)

PASS

3a

(subReq2)

PASS

3b

(subReq2)

FAIL

In this case, it is assumed that the parent requirement is NOK  since one of the sub-requirements is NOK.


Sub-Requirement NOT RUN


Test

Test status

Calculated coverage status

1

PASS

NOT RUN

One of the sub-requirements (subReq1) is NOT RUN, thus the calculated status, whenever doing the conjunction with the parent requirement status, will be NOT RUN.

2a

(subReq1)

TODO

3a

(subReq2)

PASS

3b

(subReq2)

PASS


Sub-Requirements is UNCOVERED

One Test directly linked to the parent requirement. Sub–requirement without tests.


Test

Test status

Calculated coverage status

1

(parent requirement)

PASS

OK

Since all sub-requirements are uncovered and the parent requirement is covered directly by one Test (1), which is currently PASS, then the calculated "OK" status will be based on that Test.

Note: subReq1 is considered as being UNCOVERED

-

(subReq1)

-



In this case, it is assumed that the parent requirement is completely validated by the Test directly linked to it.

  • No labels