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:
Cyclomatic testing technique
Decision coverage testing technique
Statement testing technique
Conceptual
figure
Cyclomatic Testing Technique
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
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
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
Description
Following are the steps that describes the procedural methods for Statement Testing Technique:
Provide the number for each and every statement.
Flow the data in flow chart.
Understand the given data thoroughly.
Advantages of White Box Testing
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
Key points
Memory leaks problems make the application to run slowly.
White Box testing is little bit complicated testing.