StartNovember 14, 2016
No. of Students15
About the course
White Box Testing is the testing of a software solution's internal coding and infrastructure. It focuses primarily on strengthening security, the flow of inputs and outputs through the application, and improving design and usability. White box testing is also known as Clear Box testing, Open Box testing, Structural testing, Transparent Box testing, Code-Based testing, and Glass Box testing.
What do you verify in White Box Testing?
White box testing involves the testing of the software code for the following :
- Internal security holes
- Broken or poorly structured paths in the coding processes
- The flow of specific inputs through the code
- Expected output
- The functionality of conditional loops
- Testing of each statement, object and function on an individual basis
White Box Testing Techniques
A major White box testing technique is Code Coverage analysis. Code Coverage analysis, eliminates gaps in a test case suite. It identifies areas of a program that are not exercised by a set of test cases. Once gaps are identified, you create test cases to verify untested parts of code, thereby increase the quality of the software product. There are automated tools available to perform Code coverage analysis. Below are a few coverage analysis techniques
- Statement Coverage - This technique requires every possible statement in the code to be tested at least once during the testing process.
- Branch Coverage - This technique checks every possible path (if-else and other conditional loops) of a software application. Tools: An example of a tool that handles branch coverage testing for C, C++ and Java applications.