I'm learning software testing right now, and I found that there are a lot of coverage criterias out there. And something just confused me.
Is branch coverage equals to decision coverage?
wiki said it's not the same here, I read the reference document, but I didn't found something such as: branch coverage
is not decision coverage
, maybe it's because my poor English...
But other tutors all says branch coverage
is decision coverage
. So can anyone give me a clear answer about this? thanks a lot.
Not exactly. As ISTQB Foundation book gives, branch coverage is closely related to decision coverage and at 100% coverage they give exactly the same results. Decision coverage measures the coverage of conditional branches; branch coverage measures the coverage of both conditional and unconditional branches. The Syllabus uses decision coverage, as it is the source of the branches. Some coverage measurement tools may talk about branch coverage when they actually mean decision coverage. (c) ISTQB foundation book.
Decision coverage :
Hope now It comes clear for you)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With