Software Testing - SPLessons

Software Testing White Box Testing

Home > Lesson > Chapter 14
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Software Testing White Box Testing

White Box Testing

shape Description

White box testing is a strategy in which testing is depends on Structure,Internal Paths, and Implementation of programming while performing the test. White box testing is a testing procedure, that check the test data and programming structural information from the program code and logic. To execute White box testing analyzers should have detailed programming abilities. It is characterized into three techniques such as:

shape Conceptual figure

Cyclomatic Testing Technique

shape Description

Cyclomatic Testing Technique is utilized for recognizing any difficulty levels in program. If cyclomatic complexity value ≤ 10 which recommend to build up the code. In the event that cyclomatic intricacy esteem >10 then the testers are requested for remodeling  the application.

Decision coverage testing  technique

shape Description

The decision testing technique is utilized when source code contains singular choice articulations, all the test experiment have been configured and exercised. The Analyzer will validate and have exercised each and every decision or not.
[latex]\frac{Number \ of \ decisions \ outcomes \ exercised \ by }{Total \ number \ of decisions \ outcomes}[/latex]

 Statement testing technique

shape Description

Developers will validate and an check each and every single proclamation atleast once or not. The statement testing covers just the genuine conditions. The statement coverage is likewise called as line scope or fragment scope.
[latex]\frac{Number \ of \ statements \ exercised \ by }{Total \ number \ of \ statements}[/latex]

Methods

shape Description

Following are the steps that describes the procedural methods for Statement Testing Technique:

Advantages of White Box Testing

shape Description

The following are the advantages of white box testing
  • White Box testing has to be performed in the primary stages, for that the tester wouldn't wait for the graphical user interface.
  • It can be applicable to integration testing, unit testing, system testing.

Summary

shape Key points

  • Memory leaks problems make the application to run slowly.
  • White Box testing is little bit complicated testing.