Project By: Krishna Adatrao
Evaluation: Tata Consultancy Services

TESTING

Testing is the process of detecting errors. Testing performs a very critical role for quality assurance and for ensuring the reliability of software. The results of testing are used later on during maintenance also.

Purpose of Testing

The aim of testing is often to demonstrate that a program works by showing that it has no errors. The basic purpose if testing phase is to detect the errors that may be present in the application. Hence one should not start testing with the intent of showing that a program works, but the intent should be to show that a program doesn’t work. Testing is the process of executing a program with the intent of finding errors.

Testing Objectives

The main objective of testing is to uncover a host of errors, systematically and with minimum effort and time. Stating formally, we can say,

  1. Testing is a process if executing a program with the intent of finding an error.
  2. A successful test is one that uncovers an as discovered error.
  3. A good test case is one that a high probability of finding error, if it exists.
  4. The software more or less confirms to the quality and reliable standards.

Levels of Testing

In order to uncover the errors, present in different phases we have the concept of levels of testing. The basic levels if testing is as shown below…

System Testing

The philosophy behind testing is to find errors. Test cases are devised with this in mind.

A strategy employed for system testing is coding testing.

Code Testing

This strategy examines the logic of the program. To follow this method, we developed some test data that resulted in executing every instruction in the program and module i.e., every path is tested. Systems are not designed as entire nor are they tested as single systems.

To ensure that the coding is perfect two types of testing is performed on all the systems.

White Box Testing

This is unit testing method where a unit will be taken at a time and tested thoroughly at a statement level to find the maximum possible errors. This application is tested step wise on every piece of code, taking care that every statement in the code is executed. The white box testing is also called Glass Box Testing.

For this testing we have executed the activities in the application in an order so that activities are occurring in a sequential manner.

Black Box Testing

This testing method considers a module as a single unit and checks the unit at interface and communication with other modules rather getting into details at statement level. Here the module will be treated as a black box and ensures that the application is executed correctly.