Structural Testing Technique - Structure based testing techniques

Q.  Which of the following is/are Structural Testing Technique?
- Published on 30 Jul 15

a. Statement Coverage
b. Decision Coverage
c. Condition Coverage
d. Path Coverage
e. All of the above

ANSWER: All of the above
 

    Discussion

  • Prajakta Pandit   -Posted on 03 Nov 15

    - Structural testing is the testing of the structure. It is also known as glass box testing or white box testing.

    - It requires the knowledge of the internal implementation of the code.

    Statement coverage : It is a white box testing technique, which involves the execution of all the statements at least once in the source code. The main drawback of this technique is that we cannot test the false condition in it.

    Decision coverage : It is a testing method, which aims to ensure that each one of the possible branch from each decision point is executed at least once and ensuring that all reachable code is executed.

    Condition coverage : It is also known as Predicate coverage. In this coverage, each one of the boolean expression have been evaluated to both true and false.

    Path coverage : It is the most comprehensive type of testing that a test suite can provide. It comes under white box testing.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)