White Box Test Technique

Posted on1 Month ago by 246
White box testing is a kind of software testing that involves looking into the inner workings of the code of an application. This method is sometimes referred to as structural testing, transparent box testing, or glass box testing. Because it needs knowledge of programming languages and a grasp of how the code is organized, white box testing is often carried out by developers.
White box testing's objective is to verify that the application's logic is valid and that the code is working as expected. This is accomplished by evaluating the application's data structures, the source code, and running test cases that exercise certain code lines and functionalities.



Statement Testing & Decision Testing Coverage
1. Statement Testing & Coverage
Statement testing exercises the potential executable statements in the code. Coverage is measured as the number of statements executed by the tests divided by the total number of executable statements in the test object, normally expressed as a percentage.




2. Decision Testing & Coverage

Decision testing exercises the decisions in the code and tests the code that is executed based on the decision outcomes. To do this, the test cases follow the control flows that occur from a decision point (e.g., for an IF statement, one for the true outcome and one for the false outcome;

Achieving 100% decision coverage guarantees 100% statement coverage.




GET IN TOUCH
Related articles

Experience Based Test Technique

byFirhan Muzzafi Marecar 171 2 Days ago

Black Box Test Technique

byFirhan Muzzafi Marecar 1009 2 Months ago
Related products
High-quality code is the foundation of successful software projects. It leads to Fewer Bugs, Faster Development, Improved Collaboration and Enhanced User Experience. What Will You Learn? Introduction to Code Quality,...
Testing is essential for high-quality & reliable software. It involves carefully evaluating code to find defects, check how it works & ensure a good user experience. By testing the software thoroughly during...
Leave a Comment
Leave a Reply
Please login to post a comment.

Menu

Settings

Click for more products.
No produts were found.