Structural and functional testing
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Structural and functional testing

on

  • 1,790 views

Structural and functional testing

Structural and functional testing

Statistics

Views

Total Views
1,790
Views on SlideShare
1,790
Embed Views
0

Actions

Likes
0
Downloads
27
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Structural and functional testing Presentation Transcript

  • 1. STRUCTURAL AND FUNCTIONAL TESTING Dr. Himanshu Hora SRMS College of Engineering & Technology Bareilly (INDIA)
  • 2. CONTENTS       What is testing? Goals of testing Principles of Testing Structural and Functional Testing Types of Structural and Functional Testing Limitations
  • 3. TESTING  According to the glossary of the IEEE standardization , testing is defined as: “The process of analyzing a software item to detect the differences between existing and required conditions (that is, bugs) and to evaluate the features of the software item”
  • 4. GOALS OF TESTING  Goal of testing: finding faults in the software producing a zero defect software testing should be traceable it should be deterministic
  • 5. PRINCIPLES OF TESTING  Test a program to try to make it fail  Start testing early
  • 6. Cont…  Testing must be done by different persons at different levels
  • 7. Cont…  Test a program innovatively  Use both static and dynamic testing
  • 8. STRUCTURAL TESTING  Generates test cases based on the structure of the program  Also known as white box testing  The internal structure of the program is taken into account
  • 9. FUNCTIONAL TESTING  Generates test cases based on the functionality of the software  Also known as black box testing  The internal structure of the program is hidden from the testing process
  • 10. Cont…  Identify the functions which software is expected to perform  Treats the software as a "black box", examining functionality without any knowledge of internal implementation
  • 11. TYPES OF STRUCTURAL TESTING  The different types of structural testing are :  Statement coverage: all statements in the programs should be executed at least once  Branch coverage: all branches in the program should be executed at least once
  • 12. Cont…  Path coverage: all execution paths in the program should be executed at lest once  Conditional coverage: For conditional branches, this means that, we execute the TRUE branch at least once and the FALSE branch at least once
  • 13. TYPES OF FUNCTIONAL TESTING  The different types of functional testing are:  Equivalence class partitioning: In this approach, the domain of input values to a program is partitioned into a set of equivalent classes  Boundary value analysis: It is the analysis of the programming error that frequently occurs at the boundaries of different equivalence classes of inputs
  • 14. LIMITATIONS  Testing can be used to show the presence of errors, but never to show their absence  Software testing does not help in finding root causes  It can only identify the known issues or errors. It gives no idea about defects still uncovered.
  • 15. THANK YOU Dr. Himanshu Hora SRMS College of Engineering & Technology Bareilly (INDIA)