Arunkumar Khannur's Software Testing Knowledge Center
   
 

6.10 Test Strategies

Data flow test strategies focus on impact of definition and computational use of variable. It may also consider only segment of path to check the state of the data objects in that path segments. In order to carry out data flow testing following are test strategies with varying strength:

  1. All- du- path (ADUP) strategy: This is the strongest data flow testing strategy. This strategy requires that every du path that is possible from every definition of every variable and also every use of that definition shall be exercised during testing.
  2. All-uses (AU) strategy: This strategy requires atleast one path segment from every definition to every use that can be reached by definition shall be ensured during testing.
  3. All-p-Uses/Some-c-Uses (APU+C) and All-c-Uses/Some-p-Uses (ACU+P) strategy: These are weaker test criteria. APU+C strategy requires every variable and every definition of that variable include at least one definition free path from the definition to every predicate use. ACU+P strategy requires coverage by computational –use cases and if any definitions is not covered by the previously selected path, add such predicate use cases.
  4. All –definitions (AD) strategy: AD strategy requires every definition of every variable be covered by at least one use of that variable and that use can be either computational use or predicate use.
  5. All-Predicate-Uses (APU), All –Computational Uses (ACU) strategy: APU strategy requires every variable and every definition of that variable under every predicate shall be used. ACU strategy requires every variable and every definition of that variable shall be used in computations.
 
 
Khannur's Book
Arunkumar Khannur, Software Testing - Techniques and Applications, Published by Pearson Publications, 2011 (ISBN:978-81-317-5836-6; Pages:341 + xxii)
Follow Khannur
         
Khannur's Company
ISQT Process & Consulting Services Pvt. Ltd., Bangalore, INDIA
Khannur's Software Testing Forum
STEP-AUTO Forum
 Contact Khannur
ISQT Process & Consulting Services Pvt. Ltd.
#732, 1st Floor, 12th Main,
3rd Block, Rajajinagar,
Bangalore - 560010, INDIA
Phone: +91 80 23012511
URL: www.isqtinternational.com
Email: khannur@isqtinternational.com
Skype: arun.isqt