Data Flow Testing
Printed From: One Stop Testing
Category: Software Testing @ OneStopTesting
Forum Name: Beginners @ OneStopTesting
Forum Discription: New to the Club...!!! Don't Worry, We are here for you...!!! Learn the very basics of Software Testing and other pertinent Informations.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=3019
Printed Date: 23Feb2025 at 11:14am
Topic: Data Flow Testing
Posted By: tanushree
Subject: Data Flow Testing
Date Posted: 18Oct2007 at 1:01am
Data Flow Testing First, a
proper data flow diagram like control flow(see basis path flow) is
drawn. Then selects test paths according to the location of definitions
and use of variables. Any variables that have been defined in any
program behaves in the following way: D: define the variable, normally defined in declarative section, U: use the variables which is defined earlier, in the program. K: kill the variable, which is another state of the variable at any time of the execution of the program. Any
variable that is part of the program will undergo any of the above
state. However, the sequence of states is important. We can avoid
following anomalies during the program execution: • DU: Normal, • UK, UU: Normal, • DD: Suspicious • DK: Probable bug • KD: Normal • KK: Probable bug • KU: bug • UD: Normal For example, DU:
Normal means a variable is defined first and then used in the program
which is normal behavior of the data flow in the program. DK:
Probable bug means a variable is defined and then killed before using
in the program. This may be bug as why the variable is defined and
killed with out using in the program.
|
|