-->

Path Sensitizing in Software Testing

Path Sensitizing

Review: Achievable and Unachievable Paths:
  • We want to select and test enough paths to achieve a satisfactory notion of test completeness, such as C1 + C2
  • Extract the programs control flow graph and select a set of tentative covering paths
  • For any path in that set, interpret the predicates along the path as needed to express them in terms of the input vector
  • In general, individual predicates are compound or may become compound as a result of interpretation
  • Trace the path through by multiplying the individual compound predicates to achieve a Boolean expression such as
        (A + BC) (D + E) (FGH) (IJ) (K) (I) (L)
  • Multiply the expression to achieve a sum of products form:
        ADFGHIJKL + AEFGHIKL + BCDFGHIJKL + BCEFCHIJKL
  • Each product term denotes a set of inequalities, that if solved will yield an input vector that will drive the routine along the designated path
  • Solve any one of the inequality sets for the chosen path, and you have found a set of input values for the path
  • If you can find a solution, the the path is achievable
  • If you cannot find a solution, then the path is achievable
  • If you cannot find a solution to any of the sets of inequalities, the path is not achievable
  • The act of finding a set of solutions to the path predicate expression is called path sensitization

Heuristic Procedures for Sensitizing Paths:
  • This is a workable approach, instead of selecting the paths without considering how to sensitize, attempt to choose a covering path set that is easy to sensitize and pick hard to sensitize paths only as you must to achieve coverage
  • Identify all variables that affect the decision
  • Classify the predicates as dependent or independent
  • Start the path selection with uncorrelated, independent predicates
  • If coverage has not been achieved using independent uncorrelated predicates, extend the path set using correlated predicates
  • If coverage has not been achieved, extend the cases to those that involve dependent predicates
  • Finally, use correlated and dependent predicates

Related Posts

21 comments

  1. The information you have posted here is really useful and interesting too & here, I had a chance to gather some useful information, thanks for sharing and I have an expectation about your future blogs keep your updates please.
    Software testing training institutes in chennai|Best software testing training institute in chennai

    ReplyDelete
  2. The future of software testing is on positive note. It offers huge career prospects for talented professionals to be skilled software testers.
    Loadrunner Training in Chennai|Loadrunner Training|Qtp course in Chennai|Best qtp training institute in Chennai

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Nice and beneficial article. it is very useful for me to discover and experience surely.. thanks for sharing your valuable information and time. please keep updating.

    AWS Training in HRBR Layout
    AWS Training in Kalyan Nagar
    Best AWS Training Institute in Kalyan Nagar Bangalore

    ReplyDelete
  5. Appreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
    Best Python Training Institute in Bangalore

    ReplyDelete
  6. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
    Best Hadoop Training Institute In chennai

    ReplyDelete
  7. Nice article Thanks for sharing this article Wonderful information from this website Thanks !!! ..

    Embedded system training in chennai

    ReplyDelete
  8. The young boys ended up stimulated to read through them and now have unquestionably been having fun with these things. Digital Marketing Training in chennai

    ReplyDelete
  9. It's exceptionally helpful site for learn. This present data's are extremely useful to us. It will enhance my insight. Much obliged to you for sharing this superb site.
    Performance testing training in Chennai | LoadRunner Training Institute in Chennai | HP LoadRunner Training in Chennai | LoadRunner Classes in Chennai

    ReplyDelete
  10. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    python training in chennai

    python training in bangalore

    python online training

    python training in pune

    ReplyDelete
  11. Read all the information that i've given in above article. It'll give u the whole idea about it.
    Python training in usa
    Python training in marathahalli
    Python training in pune

    ReplyDelete
  12. Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
    DevOps online Training
    DevOps Training in USA

    ReplyDelete

  13. Greetings. I know this is somewhat off-topic, but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform like yours, and I’m having difficulty finding one? Thanks a lot.

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    Amazon Web Services Training in Pune | Best AWS Training in Pune

    AWS Online Training | Online AWS Certification Course - Gangboard

    ReplyDelete
  14. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Blueprism training in Pune

    Blueprism training in Chennai

    ReplyDelete

  15. Amazon Web Services (AWS) is the most popular and most widely used Infrastructure as a Service (IaaS) cloud in the world.AWS has four core feature buckets—Compute, Storage & Content Delivery, Databases, and Networking. At a high level, you can control all of these with extensive administrative controls accessible via a secure Web client.For more information visit.
    aws online training

    ReplyDelete
  16. I and my friends were going through the nice, helpful tips from the blog then the sudden came up with an awful suspicion I never expressed respect to the website owner for those secrets.
    fire and safety course in chennai

    ReplyDelete

Post a Comment

Subscribe Our Newsletter