Friday, February 22, 2008

What is Structural Testing

Structural Testing includes:
  • Cover structure, quality and style.

  • Implementation based.

  • Best done by programmer.

  • Not aiming at testing functions or detecting missing functions.

  • The tester analyses the code and use knowledge about the structure of a component to derive the test data.

  • Simplest form of testing includes:
    - Statement coverage
    - Branch coverage

Cause-effect Analysis

Another analysis you should consider in Functional Testing is Cause-effect Analysis. This includes:
  • Even when a program operates successfully for individual test inputs, combinations of these inputs may detect program errors.

  • Involves examining the output and analysing to see if combinations of input partitions always cause outputs in the same output partition to be producted.

  • The causes of these effects used as test cases.

Boundary Value Analysis

In Functional Testing, one of the consideration is Boundary Value Analysis. This includes:

  • Input conditions are 'edges' of equivalence class.

  • Values like above and below range, minimum and maximum number and up to the array limit.