Saturday, April 25, 2009

What are testing techniques?

A testing technique specifies the strategy used in testing to select input test cases and analyze test results.

Most commonly used are Functional and Structural techniques.

Functional testing ensures that the requirements are properly satisfied by the application system. Functional testing is not concerned with how processing occurs, but rather, with the results of processing.

Structural testing ensures sufficient testing of the implementation of a function. In Structural testing, the software entity is viewed as a “white box”. The goal of selecting such test cases is to cause the execution of specific spots in the software entity, such as specific statements, program branches or paths. The expected results are evaluated on a set of coverage criteria. Examples of coverage criteria include path coverage, branch coverage, and data-flow coverage.

Examples of functional techniques are:

Regression testing
Requirements testing etc

Examples of Structural techniques are:

Stress testing
Recovery testing etc