How White Box Testing Is Different From Black Box Testing

Page 1

How White Box Testing Is Different From Black Box Testing

Black Box Testing : Black Box Testing is a procedure of software testing in which the internal structure, design and implementation of the module that is tested is not known to the tester who is testing the module. It is mostly applicable to the higher levels of testing that is Acceptance Testing and Syst em Testing . In this testing method programming and implementation knowledge is not required .In order to perform effective black box testing a complete component list is needed to be established. The tester entirely knows that a certain input should produce the corresponding output. The tester has no comprehension of how the software actually creates the output. Some typical test methods include state-transition tables, boundary value analysis, and error guessing.

Black-box test design techniques include: 1) Decision table testing : Decision Table Testing is a good technique to deal with a combination of inputs that will produce different results. It helps to reduce test effort by verifying each and every combinations of test data, at the same time ensuring complete coverage .

2) All-pairs testing : All-pairs testing is also known as pairwise testing .It is a testing approach taken for testing the software by using combinational method. It's a method to test all the possible discrete combinations of the parameters involved.


3) Equivalence partitioning : Equivalence partitioning is a technique that is based on specification . It is a good technique that can be used at any level of testing .This technique is used to divide a set of test conditions into groups / sets that can be considered as the same , hence ‘equivalence partitioning’. It can also be called as equivalence classes. 4) Boundary value analysis : This technique is used to test at the boundaries between partitions. In this we have both valid and invalid boundaries that is also called as valid and invalid partitions . 5) Cause–effect graph : Cause Effect Graph is one of the black box testing technique that graphically accompany the relationship between a provided outcome and all the factors that impact the outcome. 6) Error guessing : Error guessing is a testing technique that is done by experienced tester who had tested the similar applications to identify defects that maybe not be easy to be seize by the formal techniques.It is done after implementation of formal techniques.

Summary of Black box testing : It is the testing that disregard the source code or command in the program. It is testing of function of system based on the required documents.The output must be assumed by the tester that will come out from the system after sending the various input design to the system .

White Box Testing : White Box Testing is a procedure of software testing services in which the internal structure, design and implementation of the item being tested is known to the tester. It is mainly relevant to lower levels of testing that is Unit Testing and Integration Testing. In this testing method knowledge of programming and implementation is required . White box testing is also known as Structural Testing/Glass-Box testing .

The tester have to specify the test case that will be used for testing the system.They must have an ability to understand the programming and well understand in software testing theory. In White box testing we can look for an error by give an input to the system and monitor the output from the system.


White-box test design techniques include : 1) Statement Coverage - This technique is to focus at exercising all programming statements with minimum tests. 2) Branch Coverage - This technique is to ensure that all branches are tested at least once. 3) Path Coverage - This technique equate to testing all possible paths which means that each statement and branch is covered.

Summary of White Box testing : It is the testing technique that examine the structure or the work-flow of the program.The tester must create the specific test case that used for testing in each specific condition.The test case must contain the case that can be executed normally and abnormally.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.