White Box Test Techniques. Data Flow Testing

White Box Test Techniques. Data Flow Testing
September 23 10:00 2011 Print This Article


Test cases should be designed to execute control flow paths between definitions and uses of variables in the component.

Every test case should comprise:

  • input to the component
  • control flow subpath to be exercised
  • locations of relevant variable definition and use pair
  • expected result of the test case


Data Flow Testing requires such model of the interplays between segments of a component connected by the flow of control and the flow of data.

Categories are assigned to variable occurrences in the component, where the category finds out the definition or the use of the variable.

Definitions called variable occurrences where a variable is given a new value.

Accordingly, Uses called variable occurrences where a variable is not given a new value.

However uses can be later distinguished as:

    • Data definition P-uses (occur in the predicate portion of a decision statement such as while .. do, if .. then .. else, etc)


  • Data definition C-uses (are all others, comprising variable occurrences in the right hand side of an assignment statement, or an output statement).

More about white box testing techniques to can find here.

Related Posts:

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles


write a comment

No Comments Yet!

You can be the one to start a conversation.

Add a Comment

Your data will be safe! Your e-mail address will not be published. Also other data will not be shared with third person.
All fields are required.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.