Possible to be adequate with respect to decision/condition coverage but not block coverage?

Posted by bparker on Stack Overflow See other posts from Stack Overflow or by bparker
Published on 2010-03-05T00:17:30Z Indexed on 2010/03/24 5:13 UTC
Read the original article Hit count: 282

Filed under:

Following up on a debate that I was having with a colleague. What is the community's opinion on whether or not a section of code can be adequate with respect to decision coverage (all possible decisions have evaluated to true and false) but not block coverage, and if a section of code can be adequate with respect to condition coverage (each simple condition in a compound conditions has evaluated to true and false) but not block coverage. Thanks.

© Stack Overflow or respective owner

Related posts about General