Content deleted Content added
The examples used a definition of decision that is wrong. an assignment to a boolean expression is a decision, so the statement in the text was wrong. this is a common misconception and a defect of most code coverage tools that needs to be addressed, |
→Definitions: Fixed typo Tags: canned edit summary Mobile edit Mobile app edit Android app edit |
||
Line 18:
;Condition: A condition is a leaf-level [[Boolean algebra (logic)|Boolean]] [[Expression (programming)|expression]] (it cannot be broken down into simpler Boolean expressions).
;Decision: A Boolean expression composed of conditions and zero or more [[Boolean operator (computer programming)|Boolean operator]]s. A decision without a Boolean operator is a condition.
;Condition coverage: Every condition in a decision in the program has taken all possible outcomes at least once.
|