Different Methods used in Software Testing
Black Box Testing
The
technique of testing without having any knowledge of the interior workings of
the application is Black Box testing.
This is
also known as IO driven testing / behaviour method of testing.
Different
Methods of Black Box Testing: I have just mentioned names of Methods of BBT
here, I have written it in next post in detail.
1. Equivalent portioning
2. Boundary value Analysis
3. Error Guessing
4. Graph based
5. State transition Method
I have
posted all BBT methods, advantages, disadvantages, tools used in Black box
Testing Post.
White Box Testing
White box
testing is the detailed investigation of internal logic and structure of the
code. White box testing is also called glass testing or open box testing. In
order to perform white box testing on an application, the tester needs to
possess knowledge of the internal working of the code.
It is
also known as structural testing.
Different
Methods of White Box Testing: I have just mentioned names of methods of WBT
here, I have written it in next post in detail.
1. Statement Coverage
2. Branch Coverage
3. Path Coverage
4. Condition Coverage
Grey Box Testing
Grey Box
testing is a technique to test the application with limited knowledge of the
internal workings of an application. In software testing, the term the more
you know the better carries a lot of weight when testing an application.
Mastering
the domain of a system always gives the tester an edge over someone with
limited domain knowledge. Unlike black box testing, where the tester only tests
the application's user interface, in grey box testing, the tester has access to
design documents and the database. Having this knowledge, the tester is able to
better prepare test data and test scenarios when making the test plan.
Advantages
|
Disadvantages
|
|
|
Black Box vs Grey Box vs White Box
S.N.
|
Black Box Testing
|
Grey Box Testing
|
White Box Testing
|
1
|
The
Internal Workings of an application are not required to be known
|
Somewhat
knowledge of the internal workings are known
|
Tester
has full knowledge of the Internal workings of the application
|
2
|
Also
known as closed box testing, data driven testing and functional testing
|
Another
term for grey box testing is translucent testing as the tester has limited
knowledge of the insides of the application
|
Also
known as clear box testing, structural testing or code based testing
|
3
|
Performed
by end users and also by testers and developers
|
Performed
by end users and also by testers and developers
|
Normally
done by testers and developers
|
4
|
Testing
is based on external expectations - Internal behavior of the application is
unknown
|
Testing
is done on the basis of high level database diagrams and data flow diagrams
|
Internal
workings are fully known and the tester can design test data accordingly
|
5
|
This is
the least time consuming and exhaustive
|
Partly
time consuming and exhaustive
|
The
most exhaustive and time consuming type of testing
|
6
|
Not
suited to algorithm testing
|
Not
suited to algorithm testing
|
Suited
for algorithm testing
|
7
|
This
can only be done by trial and error method
|
Data
domains and Internal boundaries can be tested, if known
|
Data
domains and Internal boundaries can be better tested
|
No comments:
Post a Comment