Sie sind auf Seite 1von 8

Unit-4 Software testing

Testing is the process of executing a program with the intent of finding errors. According to appropriate defn,errors are present within the s/w under test. Some terminologies which are main in testing are: Errors Mistakes Fault Failure

Types of testing
Testing can be categorised into BlackBox Whitebox Integration Unit Validation SystemRecovery,security,Stress,Performance

Unit Testing
It focuses verification effort on smallest unit of s/w design. Selective testing of execution paths ia an essential task during unit testing. This approach is also called as anti bugging It is normally an adjacent step to coding .It has lot of unit test procedures.

Integration Testing
It is a systematic testing technique of constructing the program structure while at the same time,conducting tests to uncover errors associated with it. It is categorised as Topdown Bottom up Topdown-Incremental approach to construct structure. Bottomup-Beginscustom and testing with atomic modules. Regression-conducted manually by reexecuting a subset of all test cases using playback tools. Smoke Testing-It is used when shrink wrapped s/w pdts are being developed.

Validation testing
This testing is performed under When function or performance conform to specification and accepted. A deviation from specification is uncovered and deficiency list is created. It has alpha and beta test strategies. Alpha test is conducted at developers site by customer Beta Test is conducted at one or more customer sites by end user system.

System testing
It is a series of different tests whose purpose is to fully exercise the computer based system. Recovery testing: System test that forces the s/w to fail in a variety of ways and verifioes that recovery is performed. Security testing: To verify that protection mechanisms buikt from improper penetration. Stress testing: Executes in a manner that demands resources in abnormal quantity or volume. Performance-Occurs throughout all steps in testing process.

Black Box Testing


Also called as Behavioral testing focuses on functional requirements of software. It derives set of input conditions that will fully exercise all requirements of program. It has Graph based testing methods,Equivalent partitioning,Boundary value analysis.

Debugging
It is not testing but always accurs as consequence of etsting Debugging have one of the 2 outcomes: Cause will be found and corrected Cause will not be found. Three debugging approaches suggested Brute Force,Back tracking,Cause elimination During Debugging,we encounter errors that range from midly annoying(incorrect o/p) to catastrophic(s/m fails).

Das könnte Ihnen auch gefallen