Friday, 30 December 2011

Effective Software Testing

In this article am going to explain what is Effective Software Testing. Effective software testing can be measured  if the goal and purpose of the testing is clearly defined. Some of the typical Testing goals are:

01.Testing an application in each phase of the Development cycle and ensure that the defects are eliminated at the earliest.
02.Testing to ensure that the defects are not creep through the final cycle of the application.
03.Testing to ensure the reliability of the application.
04.Testing to ensure that the application meets the customer's requirement.

The effectiveness of the testing can be measured with the degree of the success in achieving the above mentioned goals.

Steps to Effective Software Testing:
Several factors influence the effectiveness of Software Testing Effort, which ultimately determine the success of the Project.
 The testing process and the test cases should cover
·         All the scenarios that can occur when using the software application
·        Each business requirement that was defined for the project
·       Specific levels of testing should cover every line of code written for the application
There are various levels of testing which focus on different aspects of the software application. The often-quoted V model best explains this: 
The various levels of testing illustrated above are:
     ·         Unit Testing
·         Integration Testing
·         System Testing
·         User Acceptance Testing
The goal of each testing level is slightly different thereby ensuring the overall project reliability.
 Each Level of testing should provide adequate test coverage. 
*  Unit testing should ensure each and every line of code is tested
*  Integration Testing should ensure the components can be integrated and all the interfaces of each component are working correctly
*  System Testing should cover all the “paths”/scenarios possible when using the system.
The system testing is done in an environment that is similar to the production environment i.e. the environment where the product will be finally deployed.
There are various types of System Testing possible which test the various aspects of the software application.

Test Planning and Process:
To ensure effective Testing Proper Test Planning is important 
An Effective Testing Process will comprise of the following steps:
·         Test Strategy and Planning
·         Review Test Strategy to ensure its aligned with the Project Goals
·         Design/Write Test Cases
·         Review Test Cases to ensure proper Test Coverage
·         Execute Test Cases
·         Capture Test Results
·         Track Defects
·         Capture Relevant Metrics
·         Analyze
Having followed the above steps for various levels of testing the product is rolled.

It is not uncommon to see various “bugs”/Defects even after the product is released to production. An effective Testing Strategy and Process helps to minimize or eliminate these defects. The extent to which it eliminates these post-production defects (Design Defects/Coding Defects/etc) is a good measure of the effectiveness of the Testing Strategy and Process.
The success of the project and the reliability of the software application depend a lot on the effectiveness of the testing effort. 


Post a Comment

Back To Top