Tuesday, September 11, 2007

Chapter 8

Assalammu'laikum..

Today we continued with chapter 8, testing the programs....

In this chapter we learned about software faults and failures, testing issues, unit testing,
integration testing, testing object-oriented systems, test planning, automated testing
tools, when to stop testing...

Test is successful only when a fault is discovered

  • Fault identification is the process of determining what fault caused the failure
  • Fault correction is the process of making changes to the system so that the faults are removed

There are many types of faults :

  1. Algorithmic faults
  2. Computation and precision faults
  3. Documentation faults
  4. Capacity or boundary faults
  5. Timing or coordination faults
  6. Performance faults
  7. Standard and procedure faults.

The types of testing is :

  1. Module testing, components testing or unit testing
  2. Integration testing
  3. Function testing
  4. Performance testing
  5. Acceptance testing
  6. Installation testing
We can view the test object from the outside as a closed box or black box whose contents
are unknown, your testing feeds input to the closed box and notes what output is produced.
Clear box or white box is the structure of the test object to test in different way.

There are two types of code review, its code walkthrough and code inspection.

Types of test thoroughness :

  1. Statement testing
  2. Branch testing
  3. Path testing
  4. Definiton-use testing
  5. All-user testing
  6. All-predicate-uses/some-computational-uses testing
  7. All-computational-uses/some-predicate-uses testing

An integration testing methods:

  1. Bottom-up
  2. Top-down
  3. Big-bang
  4. Sandwich testing
  5. Modified top-down
  6. Modified sandwich

Each step of the testing process must be planned by test planning steps:

  1. Establish test objectives
  2. Design test cases
  3. Write test cases
  4. Test test cases
  5. Execute cases
  6. Evaluate test results

No comments: