You are on page 1of 4

White Box Testing

White Box Testing Techniques:

o Mutation Testing
o Path Testing
o Loop Testing
o Statement Coverage
o Decision Coverage
o Memory Testing
o Performance Testing
o Cyclomatic Complexity

Black Box Testing:

Black Box Testing Techniques:

o Functionality Testing Techniques


o Non-Functionality Testing Technique

FUNCTIONALITY TESTING 
The system is tested against the functionality requirements/specifications.
Functions (or features) are tested by feeding them input and examining the
output. Functionality testing ensures that the requirements are properly
satisfied by the application.

Functionality Testing Types:


 Component Testing
 Integration Testing
 System Testing
 Retesting
 Regression Testing
o Regression Testing Types:
 Unit Regression Testing
 Regional Regression Testing
 Full Regression Testing
 Acceptance Testing
o Acceptance Testing Types:
 User Acceptance Testing
 Operational Acceptance Testing
 Regulatory Acceptance Testing
 Smoke Testing
 Sanity Testing

Non-Functionality Testing:
Check non-functionality aspects (performance, usability, reliability, etc) of
a software application. It is designed to test the readiness of a system as
per non functionality parameters which are never addressed
by functionality testing

Non-Functionality Testing Types:


 Performance Testing
 Load Testing
 Stress Testing
 Scalability Testing
 Reliability Testing
 Accessibility Testing
 Volume Testing
 Soak Testing
 Spike Testing
 Security Testing
 Compatibility Testing
 Usability Testing
 Localization Testing
 Internationalization Testing
 Globalization Testing

Cyclomatic Complexity:
It is WBT technique, which is performed by the development team to measure
the complexity of the source code. In this process they identify by developing control
flow graph of a linear independent path through a program module.
Cyclomatic Complexity = Edges – Nodes + 2(Exit Points)
CC=(Lines)-(Nodes) +2(exist points)

Program:
If (A=10)
{
If (B>C)
{
A=B;
else
A=C;
}
endif;
endif;
Print (A, B, C);
}

Control flow Graph:

If A=10 1

Cyclomatic Complexity = 8-7+2(1) CC = 3 (Inputs


to be given)

If B>C
4
2
3

A=C A=B

4 End if 5

6
End if
7

Print (A, B, C)

You might also like