Software Testing

20:27 Prashant Roy 0 Comments

Testing


"Software testing is the process of exercising a program with the specific intent of finding errors prior to delivery to the end user."
in another word,
Testing is a collection of events that can be planned in advance and performed systematically.
or,
Software testing is a process of executing a program or application with the intent of finding the software bugs.
or,
Software testing is a process of validating and verifying that software program or application or product,meets the business and technical requirements that guided it's design and development.
software-testing-image-pic
Softwre Testing

Why testing


While performing a software development project, errors can be injected at any stage during development.No techniques is perfact and it is expected that some of the errors of earlier phases will finally manifest themselves in the code. Hence code developed during coding activity is likely to have some requirements errors and design errors in addition to error introdused during coding activity.Testing is the phase where errors reemaining from all the previous phases must be detected.

Process of Testing

Systems should not be tested as a single,monalithic unit except for small programs.Large systems are built out of sub systems which are made up of procedures and functions.The testing process should therefore moved forward in stage where testing is performed incrementaly in parallel with system implementation.
The most widely used testing process made up of five stages:
  1. Unit testing
  2. Module testing
  3. Sub-system testing
  4. System testing
  5. Acceptance testing
The sequence of testing process event is component testing,integration testing then user testing.
As defects are find out at any one stage,they need program modifications to correct them and this may need other stages in the testing ss to be repeated.

testing process

Objective of Testing

A number of rules that can serve well as testing objectives are:
  1. Testing is a process of executing a program with the purpose of finding error.
  2. Agood test case is one that has a high probability of finding an as-yet undiscovered error.
  3. Asuccessfull test is one that uncovers as-yet undiscovered error.
Our objective is to design tests that systematically uncover different classes of errors in minimum
amount of time and effort.

Testing Principal
  1. All tests should be traceable to customer requirement.
  2. Tests should be planned long before testing begins.
  3. The pareto principal applies to software system.
  4. Testing should begin  "in the small" and progress towardstesting "in the large".
  5. Exhaustive testing is not possible.
  6. To the most effective,testing should be conducted by an independent third party.

0 comments: