Friday, March 29, 2013

Condition Coverage Or Predicate Coverage

Condition coverage is also known as Predicate Coverage
Condition coverage is seen for Boolean expression, condition coverage ensures whether all the Boolean expressions have been evaluated to both TRUE and FALSE.

Let us take an example to explain Condition Coverage

    IF ("X && Y")

In order to suffice valid condition coverage for this pseudo-code following tests will be sufficient.

    TEST 1: X=TRUE, Y=FALSE
    TEST 2: X=FALSE, Y=TRUE

Note: 100% condition coverage does not guarantee 100% decision coverage.

AI in Software Testing: How Artificial Intelligence Is Transforming QA

For years, software testing has lived under pressure: more features, faster releases, fewer bugs, smaller teams. Traditional QA has done her...