Sunday, August 24, 2008

Levels of Testing

There are 5 levels of testing.

1) Unit level testing:

If one performs testing on a unit then that level of testing is known as unit level testing. It is white box testing usually developers perform it.
Unit: -It is defined as a smallest part of an application.

2) Module level testing:

If one perform testing on a module that is known as module level testing. It is black box testing usually test engineers perform it.

3) Integration level testing:

Once the modules are developing the developers will develop some interfaces and integrate the module with the help of those interfaces while integration they will check whether the interfaces are working fine or not. It is a white box testing and usually developers or white box testers perform it.
The developers will be integrating the modules in any one of the following approaches.
i) Top Down Approach (TDA)
            In This approach the parent modules are developed first and then integrated with child modules.
ii) Bottom up Approach (BUA)
             In this approach the child modules are developed first and the integrated that to the corresponding parent modules.
iii) Hybrid Approach
               This approach is a mixed approach of both Top down and Bottom up approaches.
iv) Bigbang Approach
              Once all the modules are ready at a time integrating them finally is known as big bang approach.

STUB:

While integrating the modules in top down approach if at all any mandatory module is missing then that module is replaced with a temporary program known as STUB.

DRIVER:

While integrating the modules in bottom up approach if at all any mandatory module is missing then that module is replaced with a temporary program known as DRIVER.
4) System level testing:
Once the application is deployed into the environment then if one performs testing on the system it is known as system level testing it is a black box testing and usually done by the test engineers.
At this level of testing so many types of testing are done.
5) User- Acceptance Testing:
          It is the level of testing in which one will perform the same system testing in the presence of the user in order to make him accept the application. It is a black box testing and usually Test engineer performs it.
Environment: - Environment is a combination of three layers    (e.g.: Yahoo)
a.      Presentation layer
b.      Business layer
c.       Data base Layer
System: The application installed in to an environment combinable called as system.
  1. Presentation Logic: The logic that is used for viewing application is known as presentation logic
  2. Business Logic:  The logic that is used for performing the operations on the application is known as business logic.
  3. Data Base Logic:  The logic that is used for sharing and retrieving the data is known as database logic.

No comments: