Test Techniques


There are following three type of testing.

Black box Testing: Involves testing of functional part of the application. This is generally conducted by the testing analyst. For conducting black box testing, tester need not have any formal structural knowledge of the code.

Black box testing, also called  functional testing and behavioral testing, focuses on determining whether or not a program does what it is supposed to do based on its functional requirements. Black box testing attempts to find errors in the external behavior of the code in the following:

 (1) incorrect or missing functionality;

 (2) interface errors;

 (3) errors in data structures used by interfaces;

 (4) behavior or performance errors;   and (5) initialization and termination errors.

Through this testing, we can determine if the functions appear to work according to specifications.

However, it is important to note that no amount of testing can unequivocally demonstrate

the absence of errors and defects in your code.

It is best if the person who plans and executes black box tests is not the programmer of  the code and does not know anything about the structure of the code. The programmers of the code are innately biased and are likely to test that the program does what they programmed it to do.

As a result, most organizations have independent testing groups to perform black box testing.

These testers are not the developers and are often referred to as third-party testers. Testers should just be able to understand and specify what the desired output should be for a given input into the program.

Blackbox

Blackbox

 A black box testing takes into account only and output of the software without regard to the internal code of the program

 

White Box testing

White Box testing

White box Testing: known as glass box testing or sometimes clear box testing. This involves testing on the structural part of the application. for performing white box testing, in-depth knowledge of the code is essential, hence generally the code developers do this type of testing.

Gray box Testing: this involves testing of functional part as well as the structural part of the application. for performing gray box testing, knowledge of the code is required, hence experienced testers having good knowledge of code development are best suited for performing gray box testing.

It is the combination of black box and white box testing, the intention of this  tesing  is to find out defects related to bad design or bad implementation of the system.

Read more – >